OpenVAS Scanner
7.0.1~git
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
48
void
49
simple_packet_signature_ntlmssp
(uint8_t *mac_key,
const
uchar
*
buf
,
50
uint32
seq_number,
51
unsigned
char
*calc_md5_mac);
52
53
#endif
uint32
#define uint32
Definition:
genrand.c:54
MD5Context::buf
uint32 buf[4]
Definition:
md5.h:48
uchar
#define uchar
Definition:
smb_signing.h:41
smb.h
Unix SMB/CIFS implementation.
byteorder.h
Unix SMB/CIFS implementation. SMB Byte handling.
simple_packet_signature_ntlmssp
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
md5.h
nasl
smb_signing.h
Generated on Wed Oct 28 2020 17:21:25 for OpenVAS Scanner by
1.8.14