ReactOS 0.4.16-dev-433-g6363f78
|
#include <sys/types.h>
Go to the source code of this file.
Classes | |
struct | tag_arc4_info |
struct | _NegoHelper |
struct | _NtlmCredentials |
Macros | |
#define | CP_UNIXCP CP_ACP |
#define | NTLMSSP_NEGOTIATE_UNICODE 0x00000001 |
#define | NTLMSSP_NEGOTIATE_OEM 0x00000002 |
#define | NTLMSSP_REQUEST_TARGET 0x00000004 |
#define | NTLMSSP_NEGOTIATE_SIGN 0x00000010 |
#define | NTLMSSP_NEGOTIATE_SEAL 0x00000020 |
#define | NTLMSSP_NEGOTIATE_DATAGRAM_STYLE 0x00000040 |
#define | NTLMSSP_NEGOTIATE_LM_SESSION_KEY 0x00000080 |
#define | NTLMSSP_NEGOTIATE_NTLM 0x00000200 |
#define | NTLMSSP_NEGOTIATE_DOMAIN_SUPPLIED 0x00001000 |
#define | NTLMSSP_NEGOTIATE_WORKSTATION_SUPPLIED 0x00002000 |
#define | NTLMSSP_NEGOTIATE_LOCAL_CALL 0x00004000 |
#define | NTLMSSP_NEGOTIATE_ALWAYS_SIGN 0x00008000 |
#define | NTLMSSP_NEGOTIATE_TARGET_TYPE_DOMAIN 0x00010000 |
#define | NTLMSSP_NEGOTIATE_TARGET_TYPE_SERVER 0x00020000 |
#define | NTLMSSP_NEGOTIATE_NTLM2 0x00080000 |
#define | NTLMSSP_NEGOTIATE_TARGET_INFO 0x00800000 |
#define | NTLMSSP_NEGOTIATE_128 0x20000000 |
#define | NTLMSSP_NEGOTIATE_KEY_EXCHANGE 0x40000000 |
#define | NTLMSSP_NEGOTIATE_56 0x80000000 |
Typedefs | |
typedef enum _helper_mode | HelperMode |
typedef struct tag_arc4_info | arc4_info |
typedef struct _NegoHelper | NegoHelper |
typedef struct _NegoHelper * | PNegoHelper |
typedef struct _NtlmCredentials | NtlmCredentials |
typedef struct _NtlmCredentials * | PNtlmCredentials |
typedef enum _sign_direction | SignDirection |
Enumerations | |
enum | _helper_mode { NTLM_SERVER , NTLM_CLIENT , NUM_HELPER_MODES } |
enum | _sign_direction { NTLM_SEND , NTLM_RECV } |
Variables | |
SecPkgInfoW *ntlm_package_infoW | DECLSPEC_HIDDEN |
typedef struct tag_arc4_info arc4_info |
typedef enum _helper_mode HelperMode |
typedef struct _NegoHelper NegoHelper |
typedef struct _NtlmCredentials NtlmCredentials |
typedef struct _NegoHelper * PNegoHelper |
typedef struct _NtlmCredentials * PNtlmCredentials |
typedef enum _sign_direction SignDirection |
Enumerator | |
---|---|
NTLM_SERVER | |
NTLM_CLIENT | |
NUM_HELPER_MODES |
Enumerator | |
---|---|
NTLM_SEND | |
NTLM_RECV |
SECURITY_STATUS SEC_ENTRY ntlm_AcceptSecurityContext | ( | PCredHandle | phCredential, |
PCtxtHandle | phContext, | ||
PSecBufferDesc | pInput, | ||
ULONG | fContextReq, | ||
ULONG | TargetDataRep, | ||
PCtxtHandle | phNewContext, | ||
PSecBufferDesc | pOutput, | ||
ULONG * | pfContextAttr, | ||
PTimeStamp | ptsExpiry | ||
) |
Definition at line 1029 of file ntlm.c.
Referenced by nego_AcceptSecurityContext().
SECURITY_STATUS SEC_ENTRY ntlm_AcquireCredentialsHandleW | ( | SEC_WCHAR * | pszPrincipal, |
SEC_WCHAR * | pszPackage, | ||
ULONG | fCredentialUse, | ||
PLUID | pLogonID, | ||
PVOID | pAuthData, | ||
SEC_GET_KEY_FN | pGetKeyFn, | ||
PVOID | pGetKeyArgument, | ||
PCredHandle | phCredential, | ||
PTimeStamp | ptsExpiry | ||
) |
Definition at line 127 of file ntlm.c.
Referenced by nego_AcquireCredentialsHandleW(), and ntlm_AcquireCredentialsHandleA().
SECURITY_STATUS SEC_ENTRY ntlm_DecryptMessage | ( | PCtxtHandle | phContext, |
PSecBufferDesc | pMessage, | ||
ULONG | MessageSeqNo, | ||
PULONG | pfQOP | ||
) |
Definition at line 1863 of file ntlm.c.
Referenced by nego_DecryptMessage().
SECURITY_STATUS SEC_ENTRY ntlm_DeleteSecurityContext | ( | PCtxtHandle | phContext | ) |
Definition at line 1398 of file ntlm.c.
Referenced by nego_DeleteSecurityContext().
SECURITY_STATUS SEC_ENTRY ntlm_EncryptMessage | ( | PCtxtHandle | phContext, |
ULONG | fQOP, | ||
PSecBufferDesc | pMessage, | ||
ULONG | MessageSeqNo | ||
) |
Definition at line 1792 of file ntlm.c.
Referenced by nego_EncryptMessage().
SECURITY_STATUS SEC_ENTRY ntlm_FreeCredentialsHandle | ( | PCredHandle | phCredential | ) |
Definition at line 1767 of file ntlm.c.
Referenced by nego_FreeCredentialsHandle().
SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW | ( | PCredHandle | phCredential, |
PCtxtHandle | phContext, | ||
SEC_WCHAR * | pszTargetName, | ||
ULONG | fContextReq, | ||
ULONG | Reserved1, | ||
ULONG | TargetDataRep, | ||
PSecBufferDesc | pInput, | ||
ULONG | Reserved2, | ||
PCtxtHandle | phNewContext, | ||
PSecBufferDesc | pOutput, | ||
ULONG * | pfContextAttr, | ||
PTimeStamp | ptsExpiry | ||
) |
Definition at line 484 of file ntlm.c.
Referenced by nego_InitializeSecurityContextW(), and ntlm_InitializeSecurityContextA().
SECURITY_STATUS SEC_ENTRY ntlm_MakeSignature | ( | PCtxtHandle | phContext, |
ULONG | fQOP, | ||
PSecBufferDesc | pMessage, | ||
ULONG | MessageSeqNo | ||
) |
Definition at line 1662 of file ntlm.c.
Referenced by nego_MakeSignature().
SECURITY_STATUS SEC_ENTRY ntlm_QueryContextAttributesA | ( | PCtxtHandle | phContext, |
ULONG | ulAttribute, | ||
void * | pBuffer | ||
) |
Definition at line 1482 of file ntlm.c.
Referenced by nego_QueryContextAttributesA().
SECURITY_STATUS SEC_ENTRY ntlm_QueryContextAttributesW | ( | PCtxtHandle | phContext, |
ULONG | ulAttribute, | ||
void * | pBuffer | ||
) |
Definition at line 1427 of file ntlm.c.
Referenced by nego_QueryContextAttributesW(), and ntlm_QueryContextAttributesA().
SECURITY_STATUS SEC_ENTRY ntlm_VerifySignature | ( | PCtxtHandle | phContext, |
PSecBufferDesc | pMessage, | ||
ULONG | MessageSeqNo, | ||
PULONG | pfQOP | ||
) |
Definition at line 1697 of file ntlm.c.
Referenced by nego_VerifySignature(), and ntlm_DecryptMessage().
SECURITY_STATUS SECUR32_CreateNTLM1SessionKey | ( | PBYTE | password, |
int | len, | ||
PBYTE | session_key | ||
) |
Definition at line 122 of file util.c.
Referenced by ntlm_InitializeSecurityContextW().
SECURITY_STATUS SECUR32_CreateNTLM2SubKeys | ( | PNegoHelper | helper | ) |
Definition at line 156 of file util.c.
Referenced by ntlm_InitializeSecurityContextW().
Definition at line 2026 of file ntlm.c.
Referenced by SECUR32_initializeProviders().
|
extern |