ReactOS  0.4.14-dev-815-ge410a12
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
 

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)
 
VOID SEC_ENTRY GetSecurityUserInfo (VOID)
 
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.

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 21 of file stubs.c.

31 {
33  return 0;
34 }
#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 38 of file stubs.c.

48 {
50  return 0;
51 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ 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 55 of file stubs.c.

64 {
66  return 0;
67 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ ApplyControlToken()

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

Definition at line 71 of file stubs.c.

74 {
76  return 0;
77 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ CredMarshalTargetInfo()

VOID SEC_ENTRY CredMarshalTargetInfo ( VOID  )

Definition at line 81 of file stubs.c.

82 {
84 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ DeleteSecurityContext()

SECURITY_STATUS SEC_ENTRY DeleteSecurityContext ( _In_ PCtxtHandle  phContext)

Definition at line 88 of file stubs.c.

90 {
92  return 0;
93 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ EfsDecryptFek()

VOID SEC_ENTRY EfsDecryptFek ( VOID  )

Definition at line 97 of file stubs.c.

98 {
100 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ EfsGenerateKey()

VOID SEC_ENTRY EfsGenerateKey ( VOID  )

Definition at line 104 of file stubs.c.

105 {
107 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ EnumerateSecurityPackagesW()

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

Definition at line 111 of file stubs.c.

114 {
116  return 0;
117 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ ExportSecurityContext()

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

Definition at line 121 of file stubs.c.

126 {
128  return 0;
129 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ FreeContextBuffer()

SECURITY_STATUS SEC_ENTRY FreeContextBuffer ( _Inout_ PVOID  pvContextBuffer)

Definition at line 133 of file stubs.c.

135 {
137  return 0;
138 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ FreeCredentialsHandle()

SECURITY_STATUS SEC_ENTRY FreeCredentialsHandle ( _In_ PCredHandle  phCredential)

Definition at line 142 of file stubs.c.

144 {
146  return 0;
147 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ GenerateDirEfs()

VOID SEC_ENTRY GenerateDirEfs ( VOID  )

Definition at line 151 of file stubs.c.

152 {
154 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ GenerateSessionKey()

VOID SEC_ENTRY GenerateSessionKey ( VOID  )

Definition at line 158 of file stubs.c.

159 {
161 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ GetSecurityUserInfo()

VOID SEC_ENTRY GetSecurityUserInfo ( VOID  )

Definition at line 165 of file stubs.c.

166 {
168 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ ImpersonateSecurityContext()

SECURITY_STATUS SEC_ENTRY ImpersonateSecurityContext ( _In_ PCtxtHandle  phContext)

Definition at line 172 of file stubs.c.

174 {
176  return 0;
177 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ ImportSecurityContextW()

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

Definition at line 181 of file stubs.c.

186 {
188  return 0;
189 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ 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 193 of file stubs.c.

206 {
208  return 0;
209 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ InitSecurityInterfaceW()

PSecurityFunctionTableW SEC_ENTRY InitSecurityInterfaceW ( void  )

Definition at line 213 of file stubs.c.

214 {
215 
217  return NULL;
218 }
smooth NULL
Definition: ftsmooth.c:416
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ KSecRegisterSecurityProvider()

VOID SEC_ENTRY KSecRegisterSecurityProvider ( VOID  )

Definition at line 222 of file stubs.c.

223 {
225 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ KSecValidateBuffer()

VOID SEC_ENTRY KSecValidateBuffer ( VOID  )

Definition at line 229 of file stubs.c.

230 {
232 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ LsaEnumerateLogonSessions()

VOID SEC_ENTRY LsaEnumerateLogonSessions ( VOID  )

Definition at line 236 of file stubs.c.

237 {
239 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ LsaGetLogonSessionData()

VOID SEC_ENTRY LsaGetLogonSessionData ( VOID  )

Definition at line 243 of file stubs.c.

244 {
246 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ MakeSignature()

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

Definition at line 250 of file stubs.c.

255 {
257  return 0;
258 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ MapSecurityError()

VOID SEC_ENTRY MapSecurityError ( VOID  )

Definition at line 262 of file stubs.c.

263 {
265 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ QueryContextAttributesW()

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

Definition at line 269 of file stubs.c.

273 {
275  return 0;
276 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ QueryCredentialsAttributesW()

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

Definition at line 280 of file stubs.c.

284 {
286  return 0;
287 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ QuerySecurityContextToken()

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

Definition at line 291 of file stubs.c.

294 {
296  return 0;
297 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ QuerySecurityPackageInfoW()

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

Definition at line 301 of file stubs.c.

304 {
306  return 0;
307 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ RevertSecurityContext()

SECURITY_STATUS SEC_ENTRY RevertSecurityContext ( _In_ PCtxtHandle  phContext)

Definition at line 311 of file stubs.c.

313 {
315  return 0;
316 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ SealMessage()

VOID SEC_ENTRY SealMessage ( VOID  )

Definition at line 320 of file stubs.c.

321 {
323 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ 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 327 of file stubs.c.

334 {
336  return 0;
337 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ 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 341 of file stubs.c.

348 {
350  return 0;
351 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ SecLookupWellKnownSid()

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

Definition at line 355 of file stubs.c.

360 {
362  return 0;
363 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ 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 367 of file stubs.c.

376 {
378  return 0;
379 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ 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 383 of file stubs.c.

393 {
395  return 0;
396 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ SecSetPagingMode()

VOID SEC_ENTRY SecSetPagingMode ( VOID  )

Definition at line 400 of file stubs.c.

401 {
403 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ UnsealMessage()

VOID SEC_ENTRY UnsealMessage ( VOID  )

Definition at line 406 of file stubs.c.

407 {
409 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57

◆ VerifySignature()

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

Definition at line 413 of file stubs.c.

418 {
420  return 0;
421 }
#define UNIMPLEMENTED_DBGBREAK(...)
Definition: debug.h:57