20#include <winpr/config.h>
21#include <winpr/wlog.h>
24#include <winpr/bcrypt.h>
31NTSTATUS BCryptOpenAlgorithmProvider(WINPR_ATTR_UNUSED BCRYPT_ALG_HANDLE* phAlgorithm,
32 WINPR_ATTR_UNUSED LPCWSTR pszAlgId,
33 WINPR_ATTR_UNUSED LPCWSTR pszImplementation,
34 WINPR_ATTR_UNUSED ULONG dwFlags)
36 WLog_ERR(
"TODO",
"TODO: implement");
40NTSTATUS BCryptCloseAlgorithmProvider(WINPR_ATTR_UNUSED BCRYPT_ALG_HANDLE hAlgorithm,
41 WINPR_ATTR_UNUSED ULONG dwFlags)
43 WLog_ERR(
"TODO",
"TODO: implement");
47NTSTATUS BCryptGetProperty(WINPR_ATTR_UNUSED BCRYPT_HANDLE hObject,
48 WINPR_ATTR_UNUSED LPCWSTR pszProperty, WINPR_ATTR_UNUSED PUCHAR pbOutput,
49 WINPR_ATTR_UNUSED ULONG cbOutput, WINPR_ATTR_UNUSED ULONG* pcbResult,
50 WINPR_ATTR_UNUSED ULONG dwFlags)
52 WLog_ERR(
"TODO",
"TODO: implement");
56NTSTATUS BCryptCreateHash(WINPR_ATTR_UNUSED BCRYPT_ALG_HANDLE hAlgorithm,
57 WINPR_ATTR_UNUSED BCRYPT_HASH_HANDLE* phHash,
58 WINPR_ATTR_UNUSED PUCHAR pbHashObject,
59 WINPR_ATTR_UNUSED ULONG cbHashObject, WINPR_ATTR_UNUSED PUCHAR pbSecret,
60 WINPR_ATTR_UNUSED ULONG cbSecret, WINPR_ATTR_UNUSED ULONG dwFlags)
62 WLog_ERR(
"TODO",
"TODO: implement");
66NTSTATUS BCryptDestroyHash(WINPR_ATTR_UNUSED BCRYPT_HASH_HANDLE hHash)
68 WLog_ERR(
"TODO",
"TODO: implement");
72NTSTATUS BCryptHashData(WINPR_ATTR_UNUSED BCRYPT_HASH_HANDLE hHash,
73 WINPR_ATTR_UNUSED PUCHAR pbInput, WINPR_ATTR_UNUSED ULONG cbInput,
74 WINPR_ATTR_UNUSED ULONG dwFlags)
76 WLog_ERR(
"TODO",
"TODO: implement");
80NTSTATUS BCryptFinishHash(WINPR_ATTR_UNUSED BCRYPT_HASH_HANDLE hHash,
81 WINPR_ATTR_UNUSED PUCHAR pbOutput, WINPR_ATTR_UNUSED ULONG cbOutput,
82 WINPR_ATTR_UNUSED ULONG dwFlags)
84 WLog_ERR(
"TODO",
"TODO: implement");
88NTSTATUS BCryptGenRandom(WINPR_ATTR_UNUSED BCRYPT_ALG_HANDLE hAlgorithm,
89 WINPR_ATTR_UNUSED PUCHAR pbBuffer, WINPR_ATTR_UNUSED ULONG cbBuffer,
90 WINPR_ATTR_UNUSED ULONG dwFlags)
92 WLog_ERR(
"TODO",
"TODO: implement");
96NTSTATUS BCryptGenerateSymmetricKey(WINPR_ATTR_UNUSED BCRYPT_ALG_HANDLE hAlgorithm,
97 WINPR_ATTR_UNUSED BCRYPT_KEY_HANDLE* phKey,
98 WINPR_ATTR_UNUSED PUCHAR pbKeyObject,
99 WINPR_ATTR_UNUSED ULONG cbKeyObject,
100 WINPR_ATTR_UNUSED PUCHAR pbSecret,
101 WINPR_ATTR_UNUSED ULONG cbSecret,
102 WINPR_ATTR_UNUSED ULONG dwFlags)
104 WLog_ERR(
"TODO",
"TODO: implement");
108NTSTATUS BCryptGenerateKeyPair(WINPR_ATTR_UNUSED BCRYPT_ALG_HANDLE hAlgorithm,
109 WINPR_ATTR_UNUSED BCRYPT_KEY_HANDLE* phKey,
110 WINPR_ATTR_UNUSED ULONG dwLength, WINPR_ATTR_UNUSED ULONG dwFlags)
112 WLog_ERR(
"TODO",
"TODO: implement");
116NTSTATUS BCryptImportKey(WINPR_ATTR_UNUSED BCRYPT_ALG_HANDLE hAlgorithm,
117 WINPR_ATTR_UNUSED BCRYPT_KEY_HANDLE hImportKey,
118 WINPR_ATTR_UNUSED LPCWSTR pszBlobType,
119 WINPR_ATTR_UNUSED BCRYPT_KEY_HANDLE* phKey,
120 WINPR_ATTR_UNUSED PUCHAR pbKeyObject, WINPR_ATTR_UNUSED ULONG cbKeyObject,
121 WINPR_ATTR_UNUSED PUCHAR pbInput, WINPR_ATTR_UNUSED ULONG cbInput,
122 WINPR_ATTR_UNUSED ULONG dwFlags)
124 WLog_ERR(
"TODO",
"TODO: implement");
128NTSTATUS BCryptDestroyKey(WINPR_ATTR_UNUSED BCRYPT_KEY_HANDLE hKey)
130 WLog_ERR(
"TODO",
"TODO: implement");
134NTSTATUS BCryptEncrypt(WINPR_ATTR_UNUSED BCRYPT_KEY_HANDLE hKey, WINPR_ATTR_UNUSED PUCHAR pbInput,
135 WINPR_ATTR_UNUSED ULONG cbInput, WINPR_ATTR_UNUSED VOID* pPaddingInfo,
136 WINPR_ATTR_UNUSED PUCHAR pbIV, WINPR_ATTR_UNUSED ULONG cbIV,
137 WINPR_ATTR_UNUSED PUCHAR pbOutput, WINPR_ATTR_UNUSED ULONG cbOutput,
138 WINPR_ATTR_UNUSED ULONG* pcbResult, WINPR_ATTR_UNUSED ULONG dwFlags)
140 WLog_ERR(
"TODO",
"TODO: implement");
144NTSTATUS BCryptDecrypt(WINPR_ATTR_UNUSED BCRYPT_KEY_HANDLE hKey, WINPR_ATTR_UNUSED PUCHAR pbInput,
145 WINPR_ATTR_UNUSED ULONG cbInput, WINPR_ATTR_UNUSED VOID* pPaddingInfo,
146 WINPR_ATTR_UNUSED PUCHAR pbIV, WINPR_ATTR_UNUSED ULONG cbIV,
147 WINPR_ATTR_UNUSED PUCHAR pbOutput, WINPR_ATTR_UNUSED ULONG cbOutput,
148 WINPR_ATTR_UNUSED ULONG* pcbResult, WINPR_ATTR_UNUSED ULONG dwFlags)
150 WLog_ERR(
"TODO",
"TODO: implement");