lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 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__ */ |