http://downloads.netgear.com/files/GPL/GPL_Source_V361j_DM111PSP_series_consumer_rele...
[bcm963xx.git] / userapps / opensource / ppp / pppoe / extra_crypto.h
1 #ifndef __EXTRA_CRYPTO_INCLUDE__
2 /* 
3  * This is just a bunch of crypto routines that are needed by more than one 
4  * piece of functionality, so they were broken out 
5  */
6
7 void md4 __P((unsigned char *, int, unsigned char *));
8 void LmPasswordHash __P((char *, int, char *));
9 void NtPasswordHash __P((char *, int, unsigned char *));
10 void DesEncrypt __P((unsigned char *, unsigned char *, unsigned char *));
11
12 #define MAX_NT_PASSWORD         256     /* Max len of a (Unicode) NT passwd */
13 #define MD4_SIGNATURE_SIZE      16      /* 16 bytes in a MD4 message digest */
14
15 #define __EXTRA_CRYPTO_INCLUDE__
16 #endif /* __EXTRA_CRYPTO_INCLUDE__ */