]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - fs/cifs/cifsencrypt.h
Linux-2.6.12-rc2
[mirror_ubuntu-bionic-kernel.git] / fs / cifs / cifsencrypt.h
1 /*
2 * fs/cifs/cifsencrypt.h
3 *
4 * Copyright (c) International Business Machines Corp., 2005
5 * Author(s): Steve French (sfrench@us.ibm.com)
6 *
7 * Externs for misc. small encryption routines
8 * so we do not have to put them in cifsproto.h
9 *
10 * This library is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU Lesser General Public License as published
12 * by the Free Software Foundation; either version 2.1 of the License, or
13 * (at your option) any later version.
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
18 * the GNU Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with this library; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 */
24
25 /* md4.c */
26 extern void mdfour(unsigned char *out, unsigned char *in, int n);
27 /* smbdes.c */
28 extern void E_P16(unsigned char *p14, unsigned char *p16);
29 extern void E_P24(unsigned char *p21, unsigned char *c8, unsigned char *p24);
30 extern void D_P16(unsigned char *p14, unsigned char *in, unsigned char *out);
31 extern void E_old_pw_hash(unsigned char *, unsigned char *, unsigned char *);
32
33
34