Skip to content

Commit e7a805b

Browse files
[NCRYPT] Sync to Wine-10.0
1 parent 59fbff6 commit e7a805b

7 files changed

Lines changed: 803 additions & 0 deletions

File tree

dll/win32/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,4 +273,5 @@ if(DLL_EXPORT_VERSION GREATER_EQUAL 0x600)
273273
add_subdirectory(avrt)
274274
add_subdirectory(bcryptprimitives)
275275
add_subdirectory(dwmapi)
276+
add_subdirectory(ncrypt)
276277
endif()

dll/win32/bcrypt/bcrypt.spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
@ stub BCryptDecrypt
99
@ stub BCryptDeleteContext
1010
@ stub BCryptDeriveKey
11+
@ stub BCryptDeriveKeyCapi(ptr ptr ptr long long)
12+
@ stub BCryptDeriveKeyPBKDF2(ptr ptr long ptr long int64 ptr long long)
1113
@ stdcall BCryptDestroyHash(ptr)
1214
@ stdcall -stub BCryptDestroyKey(ptr)
1315
@ stub BCryptDestroySecret

dll/win32/ncrypt/CMakeLists.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
spec2def(ncrypt.dll ncrypt.spec ADD_IMPORTLIB)
3+
4+
list(APPEND SOURCE
5+
main.c
6+
${CMAKE_CURRENT_BINARY_DIR}/ncrypt_stubs.c
7+
${CMAKE_CURRENT_BINARY_DIR}/ncrypt.def)
8+
9+
add_library(ncrypt MODULE ${SOURCE})
10+
set_module_type(ncrypt win32dll UNICODE)
11+
target_link_libraries(ncrypt wine wine_dll_canunload oldnames)
12+
add_importlibs(ncrypt bcrypt msvcrt kernel32 ntdll)
13+
add_cd_file(TARGET ncrypt DESTINATION reactos/system32 FOR all)
14+
set_wine_module(ncrypt)

0 commit comments

Comments
 (0)