]> git.ipfire.org Git - thirdparty/squid.git/blob - lib/smblib/smbencrypt.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / lib / smblib / smbencrypt.h
1 /*
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9 #ifndef _SMBLIB_SMBENCRYPT_H
10 #define _SMBLIB_SMBENCRYPT_H
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 void SMBencrypt(unsigned char *passwd, unsigned char *c8, unsigned char *p24);
17 void SMBNTencrypt(unsigned char *passwd, unsigned char *c8, unsigned char *p24);
18 void nt_lm_owf_gen(char *pwd, char *nt_p16, char *p16);
19
20 #ifdef __cplusplus
21 }
22 #endif
23 #endif /* _SMBLIB_SMBENCRYPT_H */
24