Go to the source code of this file.
|
SecureProvider * | SECUR32_addProvider (const SecurityFunctionTableA *fnTableA, const SecurityFunctionTableW *fnTableW, PCWSTR moduleName) DECLSPEC_HIDDEN |
|
void | SECUR32_addPackages (SecureProvider *provider, ULONG toAdd, const SecPkgInfoA *infoA, const SecPkgInfoW *infoW) DECLSPEC_HIDDEN |
|
void | SECUR32_initSchannelSP (void) DECLSPEC_HIDDEN |
|
char * | schan_get_buffer (const struct schan_transport *t, struct schan_buffers *s, SIZE_T *count) DECLSPEC_HIDDEN |
|
int | schan_pull (struct schan_transport *t, void *buff, size_t *buff_len) DECLSPEC_HIDDEN |
|
int | schan_push (struct schan_transport *t, const void *buff, size_t *buff_len) DECLSPEC_HIDDEN |
|
schan_imp_session | schan_session_for_transport (struct schan_transport *t) DECLSPEC_HIDDEN |
|
BOOL | schan_imp_create_session (schan_imp_session *session, schan_credentials *cred) DECLSPEC_HIDDEN |
|
void | schan_imp_dispose_session (schan_imp_session session) DECLSPEC_HIDDEN |
|
void | schan_imp_set_session_transport (schan_imp_session session, struct schan_transport *t) DECLSPEC_HIDDEN |
|
void | schan_imp_set_session_target (schan_imp_session session, const char *target) DECLSPEC_HIDDEN |
|
SECURITY_STATUS | schan_imp_handshake (schan_imp_session session) DECLSPEC_HIDDEN |
|
unsigned int | schan_imp_get_session_cipher_block_size (schan_imp_session session) DECLSPEC_HIDDEN |
|
unsigned int | schan_imp_get_max_message_size (schan_imp_session session) DECLSPEC_HIDDEN |
|
SECURITY_STATUS | schan_imp_get_connection_info (schan_imp_session session, SecPkgContext_ConnectionInfo *info) DECLSPEC_HIDDEN |
|
SECURITY_STATUS | schan_imp_get_session_peer_certificate (schan_imp_session session, HCERTSTORE, PCCERT_CONTEXT *cert) DECLSPEC_HIDDEN |
|
SECURITY_STATUS | schan_imp_send (schan_imp_session session, const void *buffer, SIZE_T *length) DECLSPEC_HIDDEN |
|
SECURITY_STATUS | schan_imp_recv (schan_imp_session session, void *buffer, SIZE_T *length) DECLSPEC_HIDDEN |
|
BOOL | schan_imp_allocate_certificate_credentials (schan_credentials *) DECLSPEC_HIDDEN |
|
void | schan_imp_free_certificate_credentials (schan_credentials *) DECLSPEC_HIDDEN |
|
DWORD | schan_imp_enabled_protocols (void) DECLSPEC_HIDDEN |
|
BOOL | schan_imp_init (void) DECLSPEC_HIDDEN |
|
void | schan_imp_deinit (void) DECLSPEC_HIDDEN |
|
SECURITY_STATUS WINAPI | schan_FreeContextBuffer (PVOID pvoid) |
|
SECURITY_STATUS WINAPI | schan_EnumerateSecurityPackagesA (PULONG pcPackages, PSecPkgInfoA *ppPackageInfo) |
|
SECURITY_STATUS WINAPI | schan_EnumerateSecurityPackagesW (PULONG pcPackages, PSecPkgInfoW *ppPackageInfo) |
|
◆ schan_credentials
◆ schan_imp_session
◆ SecurePackage
◆ SecureProvider
◆ schan_EnumerateSecurityPackagesA()
Definition at line 199 of file secur32_wine.c.
201{
204
207 {
209 if (*pcPackages && !*ppPackageInfo)
210 {
211 *pcPackages = 0;
213 }
215 }
217}
SECURITY_STATUS WINAPI schan_EnumerateSecurityPackagesW(PULONG pcPackages, PSecPkgInfoW *ppPackageInfo)
SECURITY_STATUS WINAPI schan_FreeContextBuffer(PVOID pvoid)
static PSecPkgInfoA thunk_PSecPkgInfoWToA(ULONG cPackages, const SecPkgInfoW *info)
#define SEC_E_INSUFFICIENT_MEMORY
◆ schan_EnumerateSecurityPackagesW()
Definition at line 58 of file secur32_wine.c.
60{
62
63 TRACE(
"(%p, %p)\n", pcPackages, ppPackageInfo);
64
65
66 *pcPackages = 0;
69 {
71 size_t bytesNeeded;
72
75 {
80 }
81 if (bytesNeeded)
82 {
84 if (*ppPackageInfo)
85 {
88
93 {
95
96 *pkgInfo = package->
infoW;
98 {
100 pkgInfo->
Name = nextString;
102 nextString +=
lstrlenW(nextString) + 1;
103 }
104 else
107 {
111 nextString +=
lstrlenW(nextString) + 1;
112 }
113 else
115 }
116 }
117 else
119 }
120 }
124}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
struct _SecPkgInfoW SecPkgInfoW
#define LIST_FOR_EACH_ENTRY(elem, list, type, field)
static SecurePackageTable * packageTable
static CRITICAL_SECTION cs
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)
Referenced by schan_EnumerateSecurityPackagesA().
◆ schan_FreeContextBuffer()
◆ schan_get_buffer()
◆ schan_imp_allocate_certificate_credentials()
◆ schan_imp_create_session()
◆ schan_imp_deinit()
◆ schan_imp_dispose_session()
◆ schan_imp_enabled_protocols()
◆ schan_imp_free_certificate_credentials()
◆ schan_imp_get_connection_info()
◆ schan_imp_get_max_message_size()
◆ schan_imp_get_session_cipher_block_size()
◆ schan_imp_get_session_peer_certificate()
◆ schan_imp_handshake()
◆ schan_imp_init()
◆ schan_imp_recv()
◆ schan_imp_send()
◆ schan_imp_set_session_target()
◆ schan_imp_set_session_transport()
◆ schan_pull()
◆ schan_push()
◆ schan_session_for_transport()
◆ SECUR32_addPackages()
Definition at line 362 of file secur32_wine.c.
364{
366
369
371
373 {
376 {
378 return;
379 }
380
383 }
384
385 for (
i = 0;
i < toAdd;
i++)
386 {
387 SecurePackage *
package = HeapAlloc(GetProcessHeap(), 0, sizeof(SecurePackage));
388 if (!package)
389 continue;
390
392
393 package->provider = provider;
397 }
399
401}
static void list_add_tail(struct list_entry *head, struct list_entry *entry)
static void list_init(struct list_entry *head)
static const SecPkgInfoW infoW
static const SecPkgInfoA infoA
static void _copyPackageInfo(PSecPkgInfoW info, const SecPkgInfoA *inInfoA, const SecPkgInfoW *inInfoW)
Referenced by SECUR32_initKerberosSP(), SECUR32_initNegotiateSP(), and SECUR32_initNTLMSP().
◆ SECUR32_addProvider()
Definition at line 314 of file secur32_wine.c.
316{
318
320
322 {
325 {
328 }
329
331 }
332
335 {
338 }
339
342
343#ifndef __REACTOS__
344 if (fnTableA || fnTableW)
345 {
349 ret->loaded = !moduleName;
350 }
351 else
352#endif
353 {
356 }
357
360}
static PWSTR SECUR32_strdupW(PCWSTR str)
static SecureProviderTable * providerTable
static void _makeFnTableA(PSecurityFunctionTableA fnTableA, const SecurityFunctionTableA *inFnTableA, const SecurityFunctionTableW *inFnTableW)
static void _makeFnTableW(PSecurityFunctionTableW fnTableW, const SecurityFunctionTableA *inFnTableA, const SecurityFunctionTableW *inFnTableW)
Referenced by SECUR32_initKerberosSP(), SECUR32_initNegotiateSP(), and SECUR32_initNTLMSP().
◆ SECUR32_initSchannelSP()
◆ schanTableA
◆ schanTableW