diff --git a/Makefile.am b/Makefile.am
index 72cf64cb9..7a478c2e3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,10 +30,12 @@ EXTRA_DIST+= lib/dummy
EXTRA_DIST+= cyassl-ntru.vcproj
EXTRA_DIST+= cyassl.vcproj
+EXTRA_DIST+= cyassl.vcxproj
EXTRA_DIST+= cyassl-iphone.xcodeproj/project.pbxproj
EXTRA_DIST+= cyassl-ios.xcodeproj/project.pbxproj
EXTRA_DIST+= cyassl-ntru.sln
EXTRA_DIST+= cyassl.sln
+EXTRA_DIST+= cyassl64.sln
EXTRA_DIST+= valgrind-error.sh
EXTRA_DIST+= gencertbuf.pl
EXTRA_DIST+= IDE
@@ -81,7 +83,10 @@ TESTS += $(check_PROGRAMS)
test: check
tests/unit.log: testsuite/testsuite.log
-DISTCLEANFILES+= cyassl-config
+DISTCLEANFILES+= cyassl-config
+# fips files shouldn't be left after make distclean
+DISTCLEANFILES+= ctaocrypt/src/fips.c
+DISTCLEANFILES+= ctaocrypt/src/fips_test.c
maintainer-clean-local:
-rm Makefile.in
diff --git a/configure.ac b/configure.ac
index 7cb4852c6..2b84124cc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@
#
#
-AC_INIT([cyassl],[3.0.0],[https://github.com/cyassl/cyassl/issues],[cyassl],[http://www.wolfssl.com])
+AC_INIT([cyassl],[3.0.2],[https://github.com/cyassl/cyassl/issues],[cyassl],[http://www.wolfssl.com])
AC_CONFIG_AUX_DIR([build-aux])
diff --git a/ctaocrypt/src/aes_asm.asm b/ctaocrypt/src/aes_asm.asm
index b1a43ffa1..a75d4f73a 100755
--- a/ctaocrypt/src/aes_asm.asm
+++ b/ctaocrypt/src/aes_asm.asm
@@ -43,6 +43,10 @@ AES_CBC_encrypt PROC
;# parameter 5: r8
;# parameter 6: r9d
+; save rdi and rsi to rax and r11, restore before ret
+ mov rax,rdi
+ mov r11,rsi
+
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
@@ -89,6 +93,8 @@ LAST:
aesenclast xmm1,xmm2
movdqu [rsi],xmm1
jne LOOP_1
+ mov rdi,rax
+ mov rsi,r11
ret
AES_CBC_encrypt ENDP
@@ -111,6 +117,10 @@ AES_CBC_decrypt PROC
;# parameter 5: r8
;# parameter 6: r9d
+; save rdi and rsi to rax and r11, restore before ret
+ mov rax,rdi
+ mov r11,rsi
+
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
@@ -276,6 +286,8 @@ DLAST_4_2:
dec r10
jne DLOOP_4_2
DEND_4:
+ mov rdi,rax
+ mov rsi,r11
ret
AES_CBC_decrypt ENDP
@@ -293,6 +305,11 @@ AES_ECB_encrypt PROC
;# parameter 3: rdx
;# parameter 4: rcx
;# parameter 5: r8d
+
+; save rdi and rsi to rax and r11, restore before ret
+ mov rax,rdi
+ mov r11,rsi
+
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
@@ -441,6 +458,8 @@ EECB_LAST_4_2:
dec r10
jne EECB_LOOP_4_2
EECB_END_4:
+ mov rdi,rax
+ mov rsi,r11
ret
AES_ECB_encrypt ENDP
@@ -458,6 +477,11 @@ AES_ECB_decrypt PROC
;# parameter 3: rdx
;# parameter 4: rcx
;# parameter 5: r8d
+
+; save rdi and rsi to rax and r11, restore before ret
+ mov rax,rdi
+ mov r11,rsi
+
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
@@ -606,6 +630,8 @@ DECB_LAST_4_2:
dec r10
jne DECB_LOOP_4_2
DECB_END_4:
+ mov rdi,rax
+ mov rsi,r11
ret
AES_ECB_decrypt ENDP
@@ -620,6 +646,11 @@ AES_ECB_decrypt ENDP
AES_128_Key_Expansion PROC
;# parameter 1: rdi
;# parameter 2: rsi
+
+; save rdi and rsi to rax and r11, restore before ret
+ mov rax,rdi
+ mov r11,rsi
+
mov rdi,rcx
mov rsi,rdx
@@ -666,6 +697,8 @@ ASSISTS:
aeskeygenassist xmm2,xmm1,36h
call PREPARE_ROUNDKEY_128
movdqa 160[rsi],xmm1
+ mov rdi,rax
+ mov rsi,r11
ret
PREPARE_ROUNDKEY_128:
@@ -689,6 +722,11 @@ AES_128_Key_Expansion ENDP
AES_192_Key_Expansion PROC
;# parameter 1: rdi
;# parameter 2: rsi
+
+; save rdi and rsi to rax and r11, restore before ret
+ mov rax,rdi
+ mov r11,rsi
+
mov rdi,rcx
mov rsi,rdx
@@ -699,10 +737,10 @@ AES_192_Key_Expansion PROC
aeskeygenassist xmm2,xmm3,1h
call PREPARE_ROUNDKEY_192
- shufpd xmm1,xmm5,0
+ shufpd xmm5,xmm1,0
movdqa 16[rsi],xmm5
movdqa xmm6,xmm1
- shufpd xmm3,xmm6,1
+ shufpd xmm6,xmm3,1
movdqa 32[rsi],xmm6
aeskeygenassist xmm2,xmm3,2h
@@ -712,10 +750,10 @@ AES_192_Key_Expansion PROC
aeskeygenassist xmm2,xmm3,4h
call PREPARE_ROUNDKEY_192
- shufpd xmm1,xmm5,0
+ shufpd xmm5,xmm1,0
movdqa 64[rsi],xmm5
movdqa xmm6,xmm1
- shufpd xmm3,xmm6,1
+ shufpd xmm6,xmm3,1
movdqa 80[rsi],xmm6
aeskeygenassist xmm2,xmm3,8h
@@ -725,10 +763,10 @@ AES_192_Key_Expansion PROC
aeskeygenassist xmm2,xmm3,10h
call PREPARE_ROUNDKEY_192
- shufpd xmm1,xmm5,0
+ shufpd xmm5,xmm1,0
movdqa 112[rsi],xmm5
movdqa xmm6,xmm1
- shufpd xmm3,xmm6,1
+ shufpd xmm6,xmm3,1
movdqa 128[rsi],xmm6
aeskeygenassist xmm2,xmm3,20h
@@ -738,16 +776,18 @@ AES_192_Key_Expansion PROC
aeskeygenassist xmm2,xmm3,40h
call PREPARE_ROUNDKEY_192
- shufpd xmm1,xmm5,0
+ shufpd xmm5,xmm1,0
movdqa 160[rsi],xmm5
movdqa xmm6,xmm1
- shufpd xmm3,xmm6,1
+ shufpd xmm6,xmm3,1
movdqa 176[rsi],xmm6
aeskeygenassist xmm2,xmm3,80h
call PREPARE_ROUNDKEY_192
movdqa 192[rsi],xmm1
movdqa 208[rsi],xmm3
+ mov rdi,rax
+ mov rsi,r11
ret
PREPARE_ROUNDKEY_192:
@@ -777,6 +817,11 @@ AES_192_Key_Expansion ENDP
AES_256_Key_Expansion PROC
;# parameter 1: rdi
;# parameter 2: rsi
+
+; save rdi and rsi to rax and r11, restore before ret
+ mov rax,rdi
+ mov r11,rsi
+
mov rdi,rcx
mov rsi,rdx
@@ -826,6 +871,8 @@ AES_256_Key_Expansion PROC
call MAKE_RK256_a
movdqa 224[rsi],xmm1
+ mov rdi,rax
+ mov rsi,r11
ret
AES_256_Key_Expansion ENDP
diff --git a/cyassl.vcxproj b/cyassl.vcxproj
new file mode 100644
index 000000000..c5e4ee872
--- /dev/null
+++ b/cyassl.vcxproj
@@ -0,0 +1,182 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {73973223-5EE8-41CA-8E88-1D60E89A237B}
+ cyassl
+ Win32Proj
+
+
+
+ StaticLibrary
+ v110
+ Unicode
+ true
+
+
+ StaticLibrary
+ v110
+ Unicode
+ true
+
+
+ StaticLibrary
+ v110
+ Unicode
+
+
+ StaticLibrary
+ v110
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>11.0.61030.0
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+
+
+
+
+ Disabled
+ ./;%(AdditionalIncludeDirectories)
+ OPENSSL_EXTRA;CYASSL_RIPEMD;CYASSL_SHA512;NO_PSK;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+ Level4
+ EditAndContinue
+ 4206;%(DisableSpecificWarnings)
+
+
+
+
+ Disabled
+ ./;%(AdditionalIncludeDirectories)
+ OPENSSL_EXTRA;CYASSL_RIPEMD;CYASSL_SHA512;NO_PSK;%(PreprocessorDefinitions)
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+
+ Level4
+ ProgramDatabase
+ 4206;%(DisableSpecificWarnings)
+
+
+
+
+ MaxSpeed
+ true
+ ./;%(AdditionalIncludeDirectories)
+ OPENSSL_EXTRA;CYASSL_RIPEMD;CYASSL_SHA512;NO_PSK;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+ true
+
+ Level3
+ ProgramDatabase
+
+
+
+
+ MaxSpeed
+ true
+ ./;%(AdditionalIncludeDirectories)
+ OPENSSL_EXTRA;CYASSL_RIPEMD;CYASSL_SHA512;NO_PSK;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+ true
+
+
+ Level3
+ ProgramDatabase
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ ml64.exe /c /Zi /Fo"$(OutDir)%(Filename).obj" %(Identity)
+ $(OutDir)%(Filename).obj
+ false
+ ml64.exe /c /Zi /Fo"$(OutDir)%(Filename).obj" %(Identity)
+ $(OutDir)%(Filename).obj
+
+
+
+
+
+
\ No newline at end of file
diff --git a/cyassl/version.h b/cyassl/version.h
index 9df3246e7..9097bffab 100644
--- a/cyassl/version.h
+++ b/cyassl/version.h
@@ -26,8 +26,8 @@
extern "C" {
#endif
-#define LIBCYASSL_VERSION_STRING "3.0.0"
-#define LIBCYASSL_VERSION_HEX 0x03000000
+#define LIBCYASSL_VERSION_STRING "3.0.2"
+#define LIBCYASSL_VERSION_HEX 0x03000002
#ifdef __cplusplus
}
diff --git a/cyassl64.sln b/cyassl64.sln
new file mode 100644
index 000000000..93900cc3c
--- /dev/null
+++ b/cyassl64.sln
@@ -0,0 +1,86 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Express 2012 for Windows Desktop
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cyassl", "cyassl.vcxproj", "{73973223-5EE8-41CA-8E88-1D60E89A237B}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testsuite", "testsuite\testsuite.vcxproj", "{611E8971-46E0-4D0A-B5A1-632C3B00CB80}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sslSniffer", "sslSniffer\sslSniffer.vcxproj", "{34FAE5A6-2B0F-4B55-86FE-0C43E4810F4D}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "echoserver", "examples\echoserver\echoserver.vcxproj", "{07D97C48-E08F-4E34-9F67-3064039FF2CB}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "echoclient", "examples\echoclient\echoclient.vcxproj", "{8362A816-C5DC-4E22-B5C5-9E6806387073}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "client", "examples\client\client.vcxproj", "{3ADE9549-582D-4D8E-9826-B172197A7959}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "server", "examples\server\server.vcxproj", "{E9FB0BA5-BA46-4A59-A953-39C18CD1DCB1}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {73973223-5EE8-41CA-8E88-1D60E89A237B}.Debug|Win32.ActiveCfg = Debug|Win32
+ {73973223-5EE8-41CA-8E88-1D60E89A237B}.Debug|Win32.Build.0 = Debug|Win32
+ {73973223-5EE8-41CA-8E88-1D60E89A237B}.Debug|x64.ActiveCfg = Debug|x64
+ {73973223-5EE8-41CA-8E88-1D60E89A237B}.Debug|x64.Build.0 = Debug|x64
+ {73973223-5EE8-41CA-8E88-1D60E89A237B}.Release|Win32.ActiveCfg = Release|Win32
+ {73973223-5EE8-41CA-8E88-1D60E89A237B}.Release|Win32.Build.0 = Release|Win32
+ {73973223-5EE8-41CA-8E88-1D60E89A237B}.Release|x64.ActiveCfg = Release|x64
+ {73973223-5EE8-41CA-8E88-1D60E89A237B}.Release|x64.Build.0 = Release|x64
+ {611E8971-46E0-4D0A-B5A1-632C3B00CB80}.Debug|Win32.ActiveCfg = Debug|Win32
+ {611E8971-46E0-4D0A-B5A1-632C3B00CB80}.Debug|Win32.Build.0 = Debug|Win32
+ {611E8971-46E0-4D0A-B5A1-632C3B00CB80}.Debug|x64.ActiveCfg = Debug|x64
+ {611E8971-46E0-4D0A-B5A1-632C3B00CB80}.Debug|x64.Build.0 = Debug|x64
+ {611E8971-46E0-4D0A-B5A1-632C3B00CB80}.Release|Win32.ActiveCfg = Release|Win32
+ {611E8971-46E0-4D0A-B5A1-632C3B00CB80}.Release|Win32.Build.0 = Release|Win32
+ {611E8971-46E0-4D0A-B5A1-632C3B00CB80}.Release|x64.ActiveCfg = Release|x64
+ {611E8971-46E0-4D0A-B5A1-632C3B00CB80}.Release|x64.Build.0 = Release|x64
+ {34FAE5A6-2B0F-4B55-86FE-0C43E4810F4D}.Debug|Win32.ActiveCfg = Debug|Win32
+ {34FAE5A6-2B0F-4B55-86FE-0C43E4810F4D}.Debug|Win32.Build.0 = Debug|Win32
+ {34FAE5A6-2B0F-4B55-86FE-0C43E4810F4D}.Debug|x64.ActiveCfg = Debug|x64
+ {34FAE5A6-2B0F-4B55-86FE-0C43E4810F4D}.Debug|x64.Build.0 = Debug|x64
+ {34FAE5A6-2B0F-4B55-86FE-0C43E4810F4D}.Release|Win32.ActiveCfg = Release|Win32
+ {34FAE5A6-2B0F-4B55-86FE-0C43E4810F4D}.Release|Win32.Build.0 = Release|Win32
+ {34FAE5A6-2B0F-4B55-86FE-0C43E4810F4D}.Release|x64.ActiveCfg = Release|x64
+ {34FAE5A6-2B0F-4B55-86FE-0C43E4810F4D}.Release|x64.Build.0 = Release|x64
+ {07D97C48-E08F-4E34-9F67-3064039FF2CB}.Debug|Win32.ActiveCfg = Debug|Win32
+ {07D97C48-E08F-4E34-9F67-3064039FF2CB}.Debug|Win32.Build.0 = Debug|Win32
+ {07D97C48-E08F-4E34-9F67-3064039FF2CB}.Debug|x64.ActiveCfg = Debug|x64
+ {07D97C48-E08F-4E34-9F67-3064039FF2CB}.Debug|x64.Build.0 = Debug|x64
+ {07D97C48-E08F-4E34-9F67-3064039FF2CB}.Release|Win32.ActiveCfg = Release|Win32
+ {07D97C48-E08F-4E34-9F67-3064039FF2CB}.Release|Win32.Build.0 = Release|Win32
+ {07D97C48-E08F-4E34-9F67-3064039FF2CB}.Release|x64.ActiveCfg = Release|x64
+ {07D97C48-E08F-4E34-9F67-3064039FF2CB}.Release|x64.Build.0 = Release|x64
+ {8362A816-C5DC-4E22-B5C5-9E6806387073}.Debug|Win32.ActiveCfg = Debug|Win32
+ {8362A816-C5DC-4E22-B5C5-9E6806387073}.Debug|Win32.Build.0 = Debug|Win32
+ {8362A816-C5DC-4E22-B5C5-9E6806387073}.Debug|x64.ActiveCfg = Debug|x64
+ {8362A816-C5DC-4E22-B5C5-9E6806387073}.Debug|x64.Build.0 = Debug|x64
+ {8362A816-C5DC-4E22-B5C5-9E6806387073}.Release|Win32.ActiveCfg = Release|Win32
+ {8362A816-C5DC-4E22-B5C5-9E6806387073}.Release|Win32.Build.0 = Release|Win32
+ {8362A816-C5DC-4E22-B5C5-9E6806387073}.Release|x64.ActiveCfg = Release|x64
+ {8362A816-C5DC-4E22-B5C5-9E6806387073}.Release|x64.Build.0 = Release|x64
+ {3ADE9549-582D-4D8E-9826-B172197A7959}.Debug|Win32.ActiveCfg = Debug|Win32
+ {3ADE9549-582D-4D8E-9826-B172197A7959}.Debug|Win32.Build.0 = Debug|Win32
+ {3ADE9549-582D-4D8E-9826-B172197A7959}.Debug|x64.ActiveCfg = Debug|x64
+ {3ADE9549-582D-4D8E-9826-B172197A7959}.Debug|x64.Build.0 = Debug|x64
+ {3ADE9549-582D-4D8E-9826-B172197A7959}.Release|Win32.ActiveCfg = Release|Win32
+ {3ADE9549-582D-4D8E-9826-B172197A7959}.Release|Win32.Build.0 = Release|Win32
+ {3ADE9549-582D-4D8E-9826-B172197A7959}.Release|x64.ActiveCfg = Release|x64
+ {3ADE9549-582D-4D8E-9826-B172197A7959}.Release|x64.Build.0 = Release|x64
+ {E9FB0BA5-BA46-4A59-A953-39C18CD1DCB1}.Debug|Win32.ActiveCfg = Debug|Win32
+ {E9FB0BA5-BA46-4A59-A953-39C18CD1DCB1}.Debug|Win32.Build.0 = Debug|Win32
+ {E9FB0BA5-BA46-4A59-A953-39C18CD1DCB1}.Debug|x64.ActiveCfg = Debug|x64
+ {E9FB0BA5-BA46-4A59-A953-39C18CD1DCB1}.Debug|x64.Build.0 = Debug|x64
+ {E9FB0BA5-BA46-4A59-A953-39C18CD1DCB1}.Release|Win32.ActiveCfg = Release|Win32
+ {E9FB0BA5-BA46-4A59-A953-39C18CD1DCB1}.Release|Win32.Build.0 = Release|Win32
+ {E9FB0BA5-BA46-4A59-A953-39C18CD1DCB1}.Release|x64.ActiveCfg = Release|x64
+ {E9FB0BA5-BA46-4A59-A953-39C18CD1DCB1}.Release|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/examples/client/client.vcxproj b/examples/client/client.vcxproj
new file mode 100644
index 000000000..75f0f16bb
--- /dev/null
+++ b/examples/client/client.vcxproj
@@ -0,0 +1,175 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {3ADE9549-582D-4D8E-9826-B172197A7959}
+ client
+ Win32Proj
+
+
+
+ Application
+ v110
+ Unicode
+ true
+
+
+ Application
+ v110
+ Unicode
+ true
+
+
+ Application
+ v110
+ Unicode
+
+
+ Application
+ v110
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>11.0.61030.0
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ true
+
+
+ true
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ false
+
+
+ false
+
+
+
+ Disabled
+ ../../;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_CONSOLE;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+ Level3
+ EditAndContinue
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+ MachineX86
+
+
+
+
+ Disabled
+ ../../;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_CONSOLE;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+
+
+
+
+ MaxSpeed
+ true
+ ../../;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_CONSOLE;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+ true
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+ true
+ true
+ MachineX86
+
+
+
+
+ MaxSpeed
+ true
+ ../../;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_CONSOLE;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+ true
+
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+ true
+ true
+
+
+
+
+
+
+
+ {73973223-5ee8-41ca-8e88-1d60e89a237b}
+ false
+
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/client/include.am b/examples/client/include.am
index 0d74028c7..8b81e2c47 100644
--- a/examples/client/include.am
+++ b/examples/client/include.am
@@ -11,6 +11,7 @@ endif
EXTRA_DIST += examples/client/client.sln
EXTRA_DIST += examples/client/client-ntru.vcproj
EXTRA_DIST += examples/client/client.vcproj
+EXTRA_DIST += examples/client/client.vcxproj
dist_example_DATA+= examples/client/client.c
DISTCLEANFILES+= examples/client/.libs/client
diff --git a/examples/echoclient/echoclient.vcxproj b/examples/echoclient/echoclient.vcxproj
new file mode 100644
index 000000000..273c5714d
--- /dev/null
+++ b/examples/echoclient/echoclient.vcxproj
@@ -0,0 +1,175 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {8362A816-C5DC-4E22-B5C5-9E6806387073}
+ echoclient
+ Win32Proj
+
+
+
+ Application
+ v110
+ Unicode
+ true
+
+
+ Application
+ v110
+ Unicode
+ true
+
+
+ Application
+ v110
+ Unicode
+
+
+ Application
+ v110
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>11.0.61030.0
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ true
+
+
+ true
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ false
+
+
+ false
+
+
+
+ Disabled
+ ../../;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_CONSOLE;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+ Level3
+ EditAndContinue
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+ MachineX86
+
+
+
+
+ Disabled
+ ../../;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_CONSOLE;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+
+
+
+
+ MaxSpeed
+ true
+ ../../;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_CONSOLE;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+ true
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+ true
+ true
+ MachineX86
+
+
+
+
+ MaxSpeed
+ true
+ ../../;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_CONSOLE;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+ true
+
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+ true
+ true
+
+
+
+
+
+
+
+ {73973223-5ee8-41ca-8e88-1d60e89a237b}
+ false
+
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/echoclient/include.am b/examples/echoclient/include.am
index d913e663b..210429009 100644
--- a/examples/echoclient/include.am
+++ b/examples/echoclient/include.am
@@ -13,6 +13,7 @@ endif
EXTRA_DIST += examples/echoclient/echoclient.sln
EXTRA_DIST += examples/echoclient/echoclient-ntru.vcproj
EXTRA_DIST += examples/echoclient/echoclient.vcproj
+EXTRA_DIST += examples/echoclient/echoclient.vcxproj
dist_example_DATA+= examples/echoclient/echoclient.c
DISTCLEANFILES+= examples/echoclient/.libs/echoclient
diff --git a/examples/echoserver/echoserver.vcxproj b/examples/echoserver/echoserver.vcxproj
new file mode 100644
index 000000000..7df166512
--- /dev/null
+++ b/examples/echoserver/echoserver.vcxproj
@@ -0,0 +1,175 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {07D97C48-E08F-4E34-9F67-3064039FF2CB}
+ echoserver
+ Win32Proj
+
+
+
+ Application
+ v110
+ Unicode
+ true
+
+
+ Application
+ v110
+ Unicode
+ true
+
+
+ Application
+ v110
+ Unicode
+
+
+ Application
+ v110
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>11.0.61030.0
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ true
+
+
+ true
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ false
+
+
+ false
+
+
+
+ Disabled
+ ../../;%(AdditionalIncludeDirectories)
+ USE_ANY_ADDR;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+ Level3
+ EditAndContinue
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+ MachineX86
+
+
+
+
+ Disabled
+ ../../;%(AdditionalIncludeDirectories)
+ USE_ANY_ADDR;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+
+
+
+
+ MaxSpeed
+ true
+ ../../;%(AdditionalIncludeDirectories)
+ USE_ANY_ADDR;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+ true
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+ true
+ true
+ MachineX86
+
+
+
+
+ MaxSpeed
+ true
+ ../../;%(AdditionalIncludeDirectories)
+ USE_ANY_ADDR;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+ true
+
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+ true
+ true
+
+
+
+
+
+
+
+ {73973223-5ee8-41ca-8e88-1d60e89a237b}
+ false
+
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/echoserver/include.am b/examples/echoserver/include.am
index f207d475f..d0080fd0c 100644
--- a/examples/echoserver/include.am
+++ b/examples/echoserver/include.am
@@ -13,6 +13,7 @@ endif
EXTRA_DIST += examples/echoserver/echoserver.sln
EXTRA_DIST += examples/echoserver/echoserver-ntru.vcproj
EXTRA_DIST += examples/echoserver/echoserver.vcproj
+EXTRA_DIST += examples/echoserver/echoserver.vcxproj
dist_example_DATA+= examples/echoserver/echoserver.c
DISTCLEANFILES+= examples/echoserver/.libs/echoserver
diff --git a/examples/server/include.am b/examples/server/include.am
index e39e6b534..181ef05cf 100644
--- a/examples/server/include.am
+++ b/examples/server/include.am
@@ -13,6 +13,7 @@ endif
EXTRA_DIST += examples/server/server.sln
EXTRA_DIST += examples/server/server-ntru.vcproj
EXTRA_DIST += examples/server/server.vcproj
+EXTRA_DIST += examples/server/server.vcxproj
dist_example_DATA+= examples/server/server.c
DISTCLEANFILES+= examples/server/.libs/server
diff --git a/examples/server/server.vcxproj b/examples/server/server.vcxproj
new file mode 100644
index 000000000..3196fd40e
--- /dev/null
+++ b/examples/server/server.vcxproj
@@ -0,0 +1,175 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {E9FB0BA5-BA46-4A59-A953-39C18CD1DCB1}
+ server
+ Win32Proj
+
+
+
+ Application
+ v110
+ Unicode
+ true
+
+
+ Application
+ v110
+ Unicode
+ true
+
+
+ Application
+ v110
+ Unicode
+
+
+ Application
+ v110
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>11.0.61030.0
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ true
+
+
+ true
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ false
+
+
+ false
+
+
+
+ Disabled
+ ../../;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_CONSOLE;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+ Level3
+ EditAndContinue
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+ MachineX86
+
+
+
+
+ Disabled
+ ../../;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_CONSOLE;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+
+
+
+
+ MaxSpeed
+ true
+ ../../;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_CONSOLE;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+ true
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+ true
+ true
+ MachineX86
+
+
+
+
+ MaxSpeed
+ true
+ ../../;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_CONSOLE;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+ true
+
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+ true
+ true
+
+
+
+
+
+
+
+ {73973223-5ee8-41ca-8e88-1d60e89a237b}
+ false
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sslSniffer/sslSniffer.vcxproj b/sslSniffer/sslSniffer.vcxproj
new file mode 100644
index 000000000..9056a1469
--- /dev/null
+++ b/sslSniffer/sslSniffer.vcxproj
@@ -0,0 +1,181 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {34FAE5A6-2B0F-4B55-86FE-0C43E4810F4D}
+ sslSniffer
+ Win32Proj
+
+
+
+ DynamicLibrary
+ v110
+ Unicode
+ true
+
+
+ DynamicLibrary
+ v110
+ Unicode
+ true
+
+
+ DynamicLibrary
+ v110
+ Unicode
+
+
+ DynamicLibrary
+ v110
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>11.0.61030.0
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ true
+
+
+ true
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ false
+
+
+ false
+
+
+
+ Disabled
+ ../;%(AdditionalIncludeDirectories)
+ OPENSSL_EXTRA;CYASSL_RIPEMD;CYASSL_SHA512;NO_PSK;CYASSL_SNIFFER;SSL_SNIFFER_EXPORTS;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+ Level3
+ EditAndContinue
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Windows
+ MachineX86
+
+
+
+
+ Disabled
+ ../;%(AdditionalIncludeDirectories)
+ OPENSSL_EXTRA;CYASSL_RIPEMD;CYASSL_SHA512;NO_PSK;CYASSL_SNIFFER;SSL_SNIFFER_EXPORTS;%(PreprocessorDefinitions)
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Windows
+
+
+
+
+ MaxSpeed
+ true
+ ../;%(AdditionalIncludeDirectories)
+ OPENSSL_EXTRA;CYASSL_RIPEMD;CYASSL_SHA512;NO_PSK;CYASSL_SNIFFER;SSL_SNIFFER_EXPORTS;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+ true
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Windows
+ true
+ true
+ MachineX86
+
+
+
+
+ MaxSpeed
+ true
+ ../;%(AdditionalIncludeDirectories)
+ OPENSSL_EXTRA;CYASSL_RIPEMD;CYASSL_SHA512;NO_PSK;CYASSL_SNIFFER;SSL_SNIFFER_EXPORTS;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+ true
+
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Windows
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {73973223-5ee8-41ca-8e88-1d60e89a237b}
+ false
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sslSniffer/sslSnifferTest/include.am b/sslSniffer/sslSnifferTest/include.am
index d4c90accc..0d3c5a0ca 100644
--- a/sslSniffer/sslSnifferTest/include.am
+++ b/sslSniffer/sslSnifferTest/include.am
@@ -9,5 +9,6 @@ sslSniffer_sslSnifferTest_snifftest_LDADD = src/libcyassl.la -lpcap
sslSniffer_sslSnifferTest_snifftest_DEPENDENCIES = src/libcyassl.la
endif
EXTRA_DIST += sslSniffer/sslSniffer.vcproj
+EXTRA_DIST += sslSniffer/sslSniffer.vcxproj
EXTRA_DIST += sslSniffer/sslSnifferTest/sslSniffTest.vcproj
DISTCLEANFILES+= sslSniffer/sslSnifferTest/.libs/snifftest
diff --git a/testsuite/include.am b/testsuite/include.am
index 900ee8d9a..e9c5eb5bd 100644
--- a/testsuite/include.am
+++ b/testsuite/include.am
@@ -20,6 +20,7 @@ endif
EXTRA_DIST += testsuite/testsuite.sln
EXTRA_DIST += testsuite/testsuite-ntru.vcproj
EXTRA_DIST += testsuite/testsuite.vcproj
+EXTRA_DIST += testsuite/testsuite.vcxproj
EXTRA_DIST += input
EXTRA_DIST += quit
DISTCLEANFILES+= testsuite/.libs/testsuite.test
diff --git a/testsuite/testsuite.vcxproj b/testsuite/testsuite.vcxproj
new file mode 100644
index 000000000..7bbd19dc5
--- /dev/null
+++ b/testsuite/testsuite.vcxproj
@@ -0,0 +1,180 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {611E8971-46E0-4D0A-B5A1-632C3B00CB80}
+ testsuite
+ Win32Proj
+
+
+
+ Application
+ v110
+ Unicode
+ true
+
+
+ Application
+ v110
+ Unicode
+ true
+
+
+ Application
+ v110
+ Unicode
+
+
+ Application
+ v110
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>11.0.61030.0
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ true
+
+
+ true
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ false
+
+
+ false
+
+
+
+ Disabled
+ ../;%(AdditionalIncludeDirectories)
+ NO_MAIN_DRIVER;CYASSL_RIPEMD;CYASSL_SHA512;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+ Level3
+ EditAndContinue
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+ MachineX86
+
+
+
+
+ Disabled
+ ../;%(AdditionalIncludeDirectories)
+ NO_MAIN_DRIVER;CYASSL_RIPEMD;CYASSL_SHA512;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+
+
+
+
+ MaxSpeed
+ true
+ ../;%(AdditionalIncludeDirectories)
+ NO_MAIN_DRIVER;CYASSL_RIPEMD;CYASSL_SHA512;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+ true
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+ true
+ true
+ MachineX86
+
+
+
+
+ MaxSpeed
+ true
+ ../;%(AdditionalIncludeDirectories)
+ NO_MAIN_DRIVER;CYASSL_RIPEMD;CYASSL_SHA512;OPENSSL_EXTRA;NO_PSK;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+ true
+
+
+ Level3
+ ProgramDatabase
+
+
+ Ws2_32.lib;%(AdditionalDependencies)
+ true
+ Console
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+ {73973223-5ee8-41ca-8e88-1d60e89a237b}
+ false
+
+
+
+
+
+
\ No newline at end of file