blob: 6169c5d7d120981f5e331ec4b4c9c99d1da6520f [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#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
7void md4 __P((unsigned char *, int, unsigned char *));
8void LmPasswordHash __P((char *, int, char *));
9void NtPasswordHash __P((char *, int, unsigned char *));
10void 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__ */