xref: /reactos/dll/win32/msv1_0/ntlm/protocol.h (revision 1de09c47)
1 /*
2  * PROJECT:     Authentication Package DLL
3  * LICENSE:     GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4  * PURPOSE:     NTLM protocol definitions (header)
5  * COPYRIGHT:   Copyright 2011 Samuel Serapión
6  *              Copyright 2020 Andreas Maier <staubim@quantentunnel.de>
7  */
8 
9 #pragma once
10 
11 typedef struct _CYPHER_BLOCK
12 {
13     CHAR data[8];
14 } CYPHER_BLOCK, *PCYPHER_BLOCK;
15 
16 typedef struct _USER_SESSION_KEY
17 {
18     CYPHER_BLOCK data[2];
19 } USER_SESSION_KEY, *PUSER_SESSION_KEY;
20 
21 typedef struct _LANMAN_SESSION_KEY
22 {
23     UINT8 data[MSV1_0_LANMAN_SESSION_KEY_LENGTH];
24 } LANMAN_SESSION_KEY, *PLANMAN_SESSION_KEY;
25