ReactOS 0.4.16-dev-297-gc569aee
stubs.c File Reference
#include "ksecdd.h"
#include <debug.h>
Include dependency graph for stubs.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Typedefs

typedef PVOID PSECURITY_PACKAGE_OPTIONS
 
typedef PVOID PSecurityUserData
 

Functions

SECURITY_STATUS SEC_ENTRY AcceptSecurityContext (_In_opt_ PCredHandle phCredential, _In_opt_ PCtxtHandle phContext, _In_opt_ PSecBufferDesc pInput, _In_ ULONG fContextReq, _In_ ULONG TargetDataRep, _In_opt_ PCtxtHandle phNewContext, _In_opt_ PSecBufferDesc pOutput, _Out_ PULONG pfContextAttr, _Out_opt_ PTimeStamp ptsExpiry)
 
SECURITY_STATUS SEC_ENTRY AcquireCredentialsHandleW (_In_opt_ PSSPI_SEC_STRING pPrincipal, _In_ PSSPI_SEC_STRING pPackage, _In_ ULONG fCredentialUse, _In_opt_ PVOID pvLogonId, _In_opt_ PVOID pAuthData, _In_opt_ SEC_GET_KEY_FN pGetKeyFn, _In_opt_ PVOID pvGetKeyArgument, _Out_ PCredHandle phCredential, _Out_opt_ PTimeStamp ptsExpiry)
 
SECURITY_STATUS SEC_ENTRY AddCredentialsW (_In_ PCredHandle hCredentials, _In_opt_ PSSPI_SEC_STRING pPrincipal, _In_ PSSPI_SEC_STRING pPackage, _In_ ULONG fCredentialUse, _In_opt_ PVOID pAuthData, _In_opt_ SEC_GET_KEY_FN pGetKeyFn, _In_opt_ PVOID pvGetKeyArgument, _Out_opt_ PTimeStamp ptsExpiry)
 
SECURITY_STATUS SEC_ENTRY ApplyControlToken (_In_ PCtxtHandle phContext, _In_ PSecBufferDesc pInput)
 
VOID SEC_ENTRY CredMarshalTargetInfo (VOID)
 
SECURITY_STATUS SEC_ENTRY DeleteSecurityContext (_In_ PCtxtHandle phContext)
 
VOID SEC_ENTRY EfsDecryptFek (VOID)
 
VOID SEC_ENTRY EfsGenerateKey (VOID)
 
SECURITY_STATUS SEC_ENTRY EnumerateSecurityPackagesW (_Out_ PULONG pcPackages, _Deref_out_ PSecPkgInfoW *ppPackageInfo)
 
SECURITY_STATUS SEC_ENTRY ExportSecurityContext (_In_ PCtxtHandle phContext, _In_ ULONG fFlags, _Out_ PSecBuffer pPackedContext, _Out_ PVOID *pToken)
 
SECURITY_STATUS SEC_ENTRY FreeContextBuffer (_Inout_ PVOID pvContextBuffer)
 
SECURITY_STATUS SEC_ENTRY FreeCredentialsHandle (_In_ PCredHandle phCredential)
 
VOID SEC_ENTRY GenerateDirEfs (VOID)
 
VOID SEC_ENTRY GenerateSessionKey (VOID)
 
SECURITY_STATUS SEC_ENTRY GetSecurityUserInfo (_In_opt_ PLUID LogonId, _In_ ULONG Flags, _Outptr_ PSecurityUserData *UserInformation)
 
SECURITY_STATUS SEC_ENTRY ImpersonateSecurityContext (_In_ PCtxtHandle phContext)
 
SECURITY_STATUS SEC_ENTRY ImportSecurityContextW (_In_ PSSPI_SEC_STRING pszPackage, _In_ PSecBuffer pPackedContext, _In_ PVOID Token, _Out_ PCtxtHandle phContext)
 
SECURITY_STATUS SEC_ENTRY InitializeSecurityContextW (_In_opt_ PCredHandle phCredential, _In_opt_ PCtxtHandle phContext, _In_opt_ PSSPI_SEC_STRING pTargetName, _In_ ULONG fContextReq, _In_ ULONG Reserved1, _In_ ULONG TargetDataRep, _In_opt_ PSecBufferDesc pInput, _In_ ULONG Reserved2, _Inout_opt_ PCtxtHandle phNewContext, _Inout_opt_ PSecBufferDesc pOutput, _Out_ PULONG pfContextAttr, _Out_opt_ PTimeStamp ptsExpiry)
 
PSecurityFunctionTableW SEC_ENTRY InitSecurityInterfaceW (void)
 
VOID SEC_ENTRY KSecRegisterSecurityProvider (VOID)
 
VOID SEC_ENTRY KSecValidateBuffer (VOID)
 
VOID SEC_ENTRY LsaEnumerateLogonSessions (VOID)
 
VOID SEC_ENTRY LsaGetLogonSessionData (VOID)
 
SECURITY_STATUS SEC_ENTRY MakeSignature (_In_ PCtxtHandle phContext, _In_ ULONG fQOP, _In_ PSecBufferDesc pMessage, _In_ ULONG MessageSeqNo)
 
VOID SEC_ENTRY MapSecurityError (VOID)
 
SECURITY_STATUS SEC_ENTRY QueryContextAttributesW (_In_ PCtxtHandle phContext, _In_ ULONG ulAttribute, _Out_ PVOID pBuffer)
 
SECURITY_STATUS SEC_ENTRY QueryCredentialsAttributesW (_In_ PCredHandle phCredential, _In_ ULONG ulAttribute, _Inout_ PVOID pBuffer)
 
SECURITY_STATUS SEC_ENTRY QuerySecurityContextToken (_In_ PCtxtHandle phContext, _Out_ PVOID *Token)
 
SECURITY_STATUS SEC_ENTRY QuerySecurityPackageInfoW (_In_ PSSPI_SEC_STRING pPackageName, _Deref_out_ PSecPkgInfoW *ppPackageInfo)
 
SECURITY_STATUS SEC_ENTRY RevertSecurityContext (_In_ PCtxtHandle phContext)
 
VOID SEC_ENTRY SealMessage (VOID)
 
NTSTATUS SEC_ENTRY SecLookupAccountName (_In_ PUNICODE_STRING Name, _Inout_ PULONG SidSize, _Out_ PSID Sid, _Out_ PSID_NAME_USE NameUse, _Out_opt_ PULONG DomainSize, _Inout_opt_ PUNICODE_STRING ReferencedDomain)
 
NTSTATUS SEC_ENTRY SecLookupAccountSid (_In_ PSID Sid, _Out_ PULONG NameSize, _Inout_ PUNICODE_STRING NameBuffer, _Out_ PULONG DomainSize OPTIONAL, _Out_opt_ PUNICODE_STRING DomainBuffer, _Out_ PSID_NAME_USE NameUse)
 
NTSTATUS SEC_ENTRY SecLookupWellKnownSid (_In_ WELL_KNOWN_SID_TYPE SidType, _Out_ PSID Sid, _In_ ULONG SidBufferSize, _Inout_opt_ PULONG SidSize)
 
NTSTATUS NTAPI SecMakeSPN (_In_ PUNICODE_STRING ServiceClass, _In_ PUNICODE_STRING ServiceName, _In_opt_ PUNICODE_STRING InstanceName, _In_opt_ USHORT InstancePort, _In_opt_ PUNICODE_STRING Referrer, _Inout_ PUNICODE_STRING Spn, _Out_opt_ PULONG Length, _In_ BOOLEAN Allocate)
 
NTSTATUS NTAPI SecMakeSPNEx (_In_ PUNICODE_STRING ServiceClass, _In_ PUNICODE_STRING ServiceName, _In_opt_ PUNICODE_STRING InstanceName, _In_opt_ USHORT InstancePort, _In_opt_ PUNICODE_STRING Referrer, _In_opt_ PUNICODE_STRING TargetInfo, _Inout_ PUNICODE_STRING Spn, _Out_opt_ PULONG Length, _In_ BOOLEAN Allocate)
 
VOID SEC_ENTRY SecSetPagingMode (VOID)
 
VOID SEC_ENTRY UnsealMessage (VOID)
 
SECURITY_STATUS SEC_ENTRY VerifySignature (_In_ PCtxtHandle phContext, _In_ PSecBufferDesc pMessage, _In_ ULONG MessageSeqNo, _Out_ PULONG pfQOP)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 13 of file stubs.c.

Typedef Documentation

◆ PSECURITY_PACKAGE_OPTIONS

Definition at line 16 of file stubs.c.

◆ PSecurityUserData

Definition at line 16 of file stubs.c.

Function Documentation

◆ AcceptSecurityContext()

SECURITY_STATUS SEC_ENTRY AcceptSecurityContext ( _In_opt_ PCredHandle  phCredential,
_In_opt_ PCtxtHandle  phContext,
_In_opt_ PSecBufferDesc  pInput,
_In_ ULONG  fContextReq,
_In_ ULONG  TargetDataRep,
_In_opt_ PCtxtHandle  phNewContext,
_In_opt_ PSecBufferDesc  pOutput,
_Out_ PULONG  pfContextAttr,
_Out_opt_ PTimeStamp  ptsExpiry 
)

Definition at line 22 of file stubs.c.

32{
34 return 0;
35}
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ AcquireCredentialsHandleW()

SECURITY_STATUS SEC_ENTRY AcquireCredentialsHandleW ( _In_opt_ PSSPI_SEC_STRING  pPrincipal,
_In_ PSSPI_SEC_STRING  pPackage,
_In_ ULONG  fCredentialUse,
_In_opt_ PVOID  pvLogonId,
_In_opt_ PVOID  pAuthData,
_In_opt_ SEC_GET_KEY_FN  pGetKeyFn,
_In_opt_ PVOID  pvGetKeyArgument,
_Out_ PCredHandle  phCredential,
_Out_opt_ PTimeStamp  ptsExpiry 
)

Definition at line 39 of file stubs.c.

49{
51 return 0;
52}

◆ AddCredentialsW()

SECURITY_STATUS SEC_ENTRY AddCredentialsW ( _In_ PCredHandle  hCredentials,
_In_opt_ PSSPI_SEC_STRING  pPrincipal,
_In_ PSSPI_SEC_STRING  pPackage,
_In_ ULONG  fCredentialUse,
_In_opt_ PVOID  pAuthData,
_In_opt_ SEC_GET_KEY_FN  pGetKeyFn,
_In_opt_ PVOID  pvGetKeyArgument,
_Out_opt_ PTimeStamp  ptsExpiry 
)

Definition at line 56 of file stubs.c.

65{
67 return 0;
68}

◆ ApplyControlToken()

SECURITY_STATUS SEC_ENTRY ApplyControlToken ( _In_ PCtxtHandle  phContext,
_In_ PSecBufferDesc  pInput 
)

Definition at line 72 of file stubs.c.

75{
77 return 0;
78}

◆ CredMarshalTargetInfo()

VOID SEC_ENTRY CredMarshalTargetInfo ( VOID  )

Definition at line 82 of file stubs.c.

83{
85}

◆ DeleteSecurityContext()

SECURITY_STATUS SEC_ENTRY DeleteSecurityContext ( _In_ PCtxtHandle  phContext)

Definition at line 89 of file stubs.c.

91{
93 return 0;
94}

◆ EfsDecryptFek()

VOID SEC_ENTRY EfsDecryptFek ( VOID  )

Definition at line 98 of file stubs.c.

99{
101}

◆ EfsGenerateKey()

VOID SEC_ENTRY EfsGenerateKey ( VOID  )

Definition at line 105 of file stubs.c.

106{
108}

◆ EnumerateSecurityPackagesW()

SECURITY_STATUS SEC_ENTRY EnumerateSecurityPackagesW ( _Out_ PULONG  pcPackages,
_Deref_out_ PSecPkgInfoW ppPackageInfo 
)

Definition at line 112 of file stubs.c.

115{
117 return 0;
118}

◆ ExportSecurityContext()

SECURITY_STATUS SEC_ENTRY ExportSecurityContext ( _In_ PCtxtHandle  phContext,
_In_ ULONG  fFlags,
_Out_ PSecBuffer  pPackedContext,
_Out_ PVOID pToken 
)

Definition at line 122 of file stubs.c.

127{
129 return 0;
130}

◆ FreeContextBuffer()

SECURITY_STATUS SEC_ENTRY FreeContextBuffer ( _Inout_ PVOID  pvContextBuffer)

Definition at line 134 of file stubs.c.

136{
138 return 0;
139}

◆ FreeCredentialsHandle()

SECURITY_STATUS SEC_ENTRY FreeCredentialsHandle ( _In_ PCredHandle  phCredential)

Definition at line 143 of file stubs.c.

145{
147 return 0;
148}

◆ GenerateDirEfs()

VOID SEC_ENTRY GenerateDirEfs ( VOID  )

Definition at line 152 of file stubs.c.

153{
155}

◆ GenerateSessionKey()

VOID SEC_ENTRY GenerateSessionKey ( VOID  )

Definition at line 159 of file stubs.c.

160{
162}

◆ GetSecurityUserInfo()

SECURITY_STATUS SEC_ENTRY GetSecurityUserInfo ( _In_opt_ PLUID  LogonId,
_In_ ULONG  Flags,
_Outptr_ PSecurityUserData UserInformation 
)

Definition at line 166 of file stubs.c.

170{
172 *UserInformation = NULL;
173 return STATUS_UNSUCCESSFUL;
174}
#define NULL
Definition: types.h:112
#define UNIMPLEMENTED
Definition: stubs.c:6
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132

◆ ImpersonateSecurityContext()

SECURITY_STATUS SEC_ENTRY ImpersonateSecurityContext ( _In_ PCtxtHandle  phContext)

Definition at line 178 of file stubs.c.

180{
182 return 0;
183}

◆ ImportSecurityContextW()

SECURITY_STATUS SEC_ENTRY ImportSecurityContextW ( _In_ PSSPI_SEC_STRING  pszPackage,
_In_ PSecBuffer  pPackedContext,
_In_ PVOID  Token,
_Out_ PCtxtHandle  phContext 
)

Definition at line 187 of file stubs.c.

192{
194 return 0;
195}

◆ InitializeSecurityContextW()

SECURITY_STATUS SEC_ENTRY InitializeSecurityContextW ( _In_opt_ PCredHandle  phCredential,
_In_opt_ PCtxtHandle  phContext,
_In_opt_ PSSPI_SEC_STRING  pTargetName,
_In_ ULONG  fContextReq,
_In_ ULONG  Reserved1,
_In_ ULONG  TargetDataRep,
_In_opt_ PSecBufferDesc  pInput,
_In_ ULONG  Reserved2,
_Inout_opt_ PCtxtHandle  phNewContext,
_Inout_opt_ PSecBufferDesc  pOutput,
_Out_ PULONG  pfContextAttr,
_Out_opt_ PTimeStamp  ptsExpiry 
)

Definition at line 199 of file stubs.c.

212{
214 return 0;
215}

◆ InitSecurityInterfaceW()

PSecurityFunctionTableW SEC_ENTRY InitSecurityInterfaceW ( void  )

Definition at line 219 of file stubs.c.

220{
221
223 return NULL;
224}

◆ KSecRegisterSecurityProvider()

VOID SEC_ENTRY KSecRegisterSecurityProvider ( VOID  )

Definition at line 228 of file stubs.c.

229{
231}

◆ KSecValidateBuffer()

VOID SEC_ENTRY KSecValidateBuffer ( VOID  )

Definition at line 235 of file stubs.c.

236{
238}

◆ LsaEnumerateLogonSessions()

VOID SEC_ENTRY LsaEnumerateLogonSessions ( VOID  )

Definition at line 242 of file stubs.c.

243{
245}

◆ LsaGetLogonSessionData()

VOID SEC_ENTRY LsaGetLogonSessionData ( VOID  )

Definition at line 249 of file stubs.c.

250{
252}

◆ MakeSignature()

SECURITY_STATUS SEC_ENTRY MakeSignature ( _In_ PCtxtHandle  phContext,
_In_ ULONG  fQOP,
_In_ PSecBufferDesc  pMessage,
_In_ ULONG  MessageSeqNo 
)

Definition at line 256 of file stubs.c.

261{
263 return 0;
264}

◆ MapSecurityError()

VOID SEC_ENTRY MapSecurityError ( VOID  )

Definition at line 268 of file stubs.c.

269{
271}

◆ QueryContextAttributesW()

SECURITY_STATUS SEC_ENTRY QueryContextAttributesW ( _In_ PCtxtHandle  phContext,
_In_ ULONG  ulAttribute,
_Out_ PVOID  pBuffer 
)

Definition at line 275 of file stubs.c.

279{
281 return 0;
282}

◆ QueryCredentialsAttributesW()

SECURITY_STATUS SEC_ENTRY QueryCredentialsAttributesW ( _In_ PCredHandle  phCredential,
_In_ ULONG  ulAttribute,
_Inout_ PVOID  pBuffer 
)

Definition at line 286 of file stubs.c.

290{
292 return 0;
293}

◆ QuerySecurityContextToken()

SECURITY_STATUS SEC_ENTRY QuerySecurityContextToken ( _In_ PCtxtHandle  phContext,
_Out_ PVOID Token 
)

Definition at line 297 of file stubs.c.

300{
302 return 0;
303}

◆ QuerySecurityPackageInfoW()

SECURITY_STATUS SEC_ENTRY QuerySecurityPackageInfoW ( _In_ PSSPI_SEC_STRING  pPackageName,
_Deref_out_ PSecPkgInfoW ppPackageInfo 
)

Definition at line 307 of file stubs.c.

310{
312 return 0;
313}

◆ RevertSecurityContext()

SECURITY_STATUS SEC_ENTRY RevertSecurityContext ( _In_ PCtxtHandle  phContext)

Definition at line 317 of file stubs.c.

319{
321 return 0;
322}

◆ SealMessage()

VOID SEC_ENTRY SealMessage ( VOID  )

Definition at line 326 of file stubs.c.

327{
329}

◆ SecLookupAccountName()

NTSTATUS SEC_ENTRY SecLookupAccountName ( _In_ PUNICODE_STRING  Name,
_Inout_ PULONG  SidSize,
_Out_ PSID  Sid,
_Out_ PSID_NAME_USE  NameUse,
_Out_opt_ PULONG  DomainSize,
_Inout_opt_ PUNICODE_STRING  ReferencedDomain 
)

Definition at line 333 of file stubs.c.

340{
342 return 0;
343}

◆ SecLookupAccountSid()

NTSTATUS SEC_ENTRY SecLookupAccountSid ( _In_ PSID  Sid,
_Out_ PULONG  NameSize,
_Inout_ PUNICODE_STRING  NameBuffer,
_Out_ PULONG DomainSize  OPTIONAL,
_Out_opt_ PUNICODE_STRING  DomainBuffer,
_Out_ PSID_NAME_USE  NameUse 
)

Definition at line 347 of file stubs.c.

354{
356 return 0;
357}

◆ SecLookupWellKnownSid()

NTSTATUS SEC_ENTRY SecLookupWellKnownSid ( _In_ WELL_KNOWN_SID_TYPE  SidType,
_Out_ PSID  Sid,
_In_ ULONG  SidBufferSize,
_Inout_opt_ PULONG  SidSize 
)

Definition at line 361 of file stubs.c.

366{
368 return 0;
369}

◆ SecMakeSPN()

NTSTATUS NTAPI SecMakeSPN ( _In_ PUNICODE_STRING  ServiceClass,
_In_ PUNICODE_STRING  ServiceName,
_In_opt_ PUNICODE_STRING  InstanceName,
_In_opt_ USHORT  InstancePort,
_In_opt_ PUNICODE_STRING  Referrer,
_Inout_ PUNICODE_STRING  Spn,
_Out_opt_ PULONG  Length,
_In_ BOOLEAN  Allocate 
)

Definition at line 373 of file stubs.c.

382{
384 return 0;
385}

◆ SecMakeSPNEx()

NTSTATUS NTAPI SecMakeSPNEx ( _In_ PUNICODE_STRING  ServiceClass,
_In_ PUNICODE_STRING  ServiceName,
_In_opt_ PUNICODE_STRING  InstanceName,
_In_opt_ USHORT  InstancePort,
_In_opt_ PUNICODE_STRING  Referrer,
_In_opt_ PUNICODE_STRING  TargetInfo,
_Inout_ PUNICODE_STRING  Spn,
_Out_opt_ PULONG Length  ,
_In_ BOOLEAN  Allocate 
)

Definition at line 389 of file stubs.c.

399{
401 return 0;
402}

◆ SecSetPagingMode()

VOID SEC_ENTRY SecSetPagingMode ( VOID  )

Definition at line 406 of file stubs.c.

407{
409}

◆ UnsealMessage()

VOID SEC_ENTRY UnsealMessage ( VOID  )

Definition at line 412 of file stubs.c.

413{
415}

◆ VerifySignature()

SECURITY_STATUS SEC_ENTRY VerifySignature ( _In_ PCtxtHandle  phContext,
_In_ PSecBufferDesc  pMessage,
_In_ ULONG  MessageSeqNo,
_Out_ PULONG  pfQOP 
)

Definition at line 419 of file stubs.c.

424{
426 return 0;
427}