2 #ifndef __WINE_NTLM_H__ 3 #define __WINE_NTLM_H__ 6 #define CP_UNIXCP CP_ACP 77 #define NTLMSSP_NEGOTIATE_UNICODE 0x00000001 78 #define NTLMSSP_NEGOTIATE_OEM 0x00000002 79 #define NTLMSSP_REQUEST_TARGET 0x00000004 80 #define NTLMSSP_NEGOTIATE_SIGN 0x00000010 81 #define NTLMSSP_NEGOTIATE_SEAL 0x00000020 82 #define NTLMSSP_NEGOTIATE_DATAGRAM_STYLE 0x00000040 83 #define NTLMSSP_NEGOTIATE_LM_SESSION_KEY 0x00000080 84 #define NTLMSSP_NEGOTIATE_NTLM 0x00000200 85 #define NTLMSSP_NEGOTIATE_DOMAIN_SUPPLIED 0x00001000 86 #define NTLMSSP_NEGOTIATE_WORKSTATION_SUPPLIED 0x00002000 87 #define NTLMSSP_NEGOTIATE_LOCAL_CALL 0x00004000 88 #define NTLMSSP_NEGOTIATE_ALWAYS_SIGN 0x00008000 89 #define NTLMSSP_NEGOTIATE_TARGET_TYPE_DOMAIN 0x00010000 90 #define NTLMSSP_NEGOTIATE_TARGET_TYPE_SERVER 0x00020000 91 #define NTLMSSP_NEGOTIATE_NTLM2 0x00080000 92 #define NTLMSSP_NEGOTIATE_TARGET_INFO 0x00800000 93 #define NTLMSSP_NEGOTIATE_128 0x20000000 94 #define NTLMSSP_NEGOTIATE_KEY_EXCHANGE 0x40000000 95 #define NTLMSSP_NEGOTIATE_56 0x80000000 SECURITY_STATUS SEC_ENTRY ntlm_EncryptMessage(PCtxtHandle, ULONG, PSecBufferDesc, ULONG) DECLSPEC_HIDDEN
struct _NtlmCredentials NtlmCredentials
struct _NegoHelper * PNegoHelper
SECURITY_STATUS SEC_ENTRY ntlm_DeleteSecurityContext(PCtxtHandle) DECLSPEC_HIDDEN
SecPkgInfoW * ntlm_package_infoW
SecPkgInfoA * ntlm_package_infoA
struct _NegoHelper::@536::@538 ntlm2
SecPkgInfoW *ntlm_package_infoW DECLSPEC_HIDDEN
SECURITY_STATUS SEC_ENTRY ntlm_QueryContextAttributesW(PCtxtHandle, ULONG, void *) DECLSPEC_HIDDEN
SECURITY_STATUS SECUR32_CreateNTLM2SubKeys(PNegoHelper helper) DECLSPEC_HIDDEN
struct _NegoHelper::@536 crypt
struct _NtlmCredentials * PNtlmCredentials
SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(PCredHandle, PCtxtHandle, SEC_WCHAR *, ULONG fContextReq, ULONG, ULONG, PSecBufferDesc, ULONG, PCtxtHandle, PSecBufferDesc, ULONG *, PTimeStamp) DECLSPEC_HIDDEN
SECURITY_STATUS SEC_ENTRY ntlm_QueryContextAttributesA(PCtxtHandle, ULONG, void *) DECLSPEC_HIDDEN
enum _helper_mode HelperMode
SECURITY_STATUS SEC_ENTRY ntlm_AcquireCredentialsHandleW(SEC_WCHAR *, SEC_WCHAR *, ULONG, PLUID, PVOID, SEC_GET_KEY_FN, PVOID, PCredHandle, PTimeStamp) DECLSPEC_HIDDEN
struct _NegoHelper::@536::@537 ntlm
SECURITY_STATUS SEC_ENTRY ntlm_VerifySignature(PCtxtHandle, PSecBufferDesc, ULONG, PULONG) DECLSPEC_HIDDEN
T1_FIELD_DICT_PRIVATE password
struct tag_arc4_info arc4_info
SECURITY_STATUS SEC_ENTRY ntlm_FreeCredentialsHandle(PCredHandle) DECLSPEC_HIDDEN
void(SEC_ENTRY * SEC_GET_KEY_FN)(void *Arg, void *Principal, ULONG KeyVer, void **Key, SECURITY_STATUS *Status)
SECURITY_STATUS SECUR32_CreateNTLM1SessionKey(PBYTE password, int len, PBYTE session_key) DECLSPEC_HIDDEN
SECURITY_STATUS SEC_ENTRY ntlm_DecryptMessage(PCtxtHandle, PSecBufferDesc, ULONG, PULONG) DECLSPEC_HIDDEN
int no_cached_credentials
enum _sign_direction SignDirection
SECURITY_STATUS SEC_ENTRY ntlm_AcceptSecurityContext(PCredHandle, PCtxtHandle, PSecBufferDesc, ULONG, ULONG, PCtxtHandle, PSecBufferDesc, ULONG *, PTimeStamp) DECLSPEC_HIDDEN
struct _NegoHelper NegoHelper
SECURITY_STATUS SEC_ENTRY ntlm_MakeSignature(PCtxtHandle, ULONG, PSecBufferDesc, ULONG) DECLSPEC_HIDDEN
void SECUR32_initNTLMSP(void) DECLSPEC_HIDDEN