OpenVAS Scanner 21.4.1
smb_signing.h
Go to the documentation of this file.
1/* Copyright (C) Jeremy Allison 2003.
2 * Copyright (C) Andrew Bartlett <abartlet@samba.org> 2002-2003
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
26/*
27 Modified by Preeti Subramanian <spreeti@secpod.com> for OpenVAS:
28 simple packet signature function argument struct smb_basic_signing_context
29 *data to uint8_t* mac_key and henceforth used mac_key in the
30 implementation
31*/
32
33#ifndef _SMB_SIGNING_H
34#define _SMB_SIGNING_H
35
36#include "byteorder.h"
37#include "md5.h"
38#include "smb.h"
39
40#ifndef uchar
41#define uchar unsigned char
42#endif
43
44#ifndef uint8
45#define uint8 uint8_t
46#endif
47
48void
49simple_packet_signature_ntlmssp (uint8_t *mac_key, const uchar *buf,
50 uint32 seq_number,
51 unsigned char *calc_md5_mac);
52
53#endif
Unix SMB/CIFS implementation. SMB Byte handling.
#define uint32
Definition: genrand.c:54
Unix SMB/CIFS implementation.
void simple_packet_signature_ntlmssp(uint8_t *mac_key, const uchar *buf, uint32 seq_number, unsigned char *calc_md5_mac)
Definition: smb_signing.c:36
#define uchar
Definition: smb_signing.h:41