20#ifndef WINPR_SSPI_SCHANNEL_OPENSSL_H
21#define WINPR_SSPI_SCHANNEL_OPENSSL_H
23#include <winpr/sspi.h>
28#include <winpr/windows.h>
30typedef struct S_SCHANNEL_OPENSSL SCHANNEL_OPENSSL;
32int schannel_openssl_client_init(SCHANNEL_OPENSSL* context);
33int schannel_openssl_server_init(SCHANNEL_OPENSSL* context);
35SECURITY_STATUS schannel_openssl_client_process_tokens(SCHANNEL_OPENSSL* context,
38SECURITY_STATUS schannel_openssl_server_process_tokens(SCHANNEL_OPENSSL* context,
42SECURITY_STATUS schannel_openssl_encrypt_message(SCHANNEL_OPENSSL* context,
44SECURITY_STATUS schannel_openssl_decrypt_message(SCHANNEL_OPENSSL* context,
47void schannel_openssl_free(SCHANNEL_OPENSSL* context);
49WINPR_ATTR_MALLOC(schannel_openssl_free, 1)
50SCHANNEL_OPENSSL* schannel_openssl_new(
void);