 +    )
 +  if(WIN32)
 +    list(APPEND OPENSSL_DEFS
-+      -DOPENSSL_BN_ASM_PART_WORDS
 +      -DRMD160_ASM
 +      -DAES_ASM
 +      -DWHIRLPOOL_ASM

diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..e9ebd73
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,110 @@
+cmake_minimum_required(VERSION 3.12)
+project(openssl)
+include(flags OPTIONAL)

+DEFINE_LHASH_OF(FUNCTION);
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
new file mode 100644
index 0000000..6234cf4
--- /dev/null
+++ b/crypto/CMakeLists.txt
@@ -0,0 +1,1849 @@
+set(lib_name crypto)
+########################################
+set(gen_file include/buildinf.h)
