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