mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-11-29 00:03:48 -05:00
Try to generate VisualStudio files
This commit is contained in:
parent
08f1c3e20e
commit
cb7975d26f
@ -1,5 +1,5 @@
|
||||
LIBRARY oqs
|
||||
EXPORTS
|
||||
LIBRARY oqs
|
||||
EXPORTS
|
||||
OQS_KEM_alg_identifier
|
||||
OQS_KEM_alg_count
|
||||
OQS_KEM_new
|
||||
@ -13,6 +13,39 @@ EXPORTS
|
||||
OQS_KEM_frodokem_640_shake_decaps
|
||||
OQS_KEM_frodokem_640_shake_encaps
|
||||
OQS_KEM_frodokem_640_shake_keypair
|
||||
OQS_KEM_frodokem_976_aes_decaps
|
||||
OQS_KEM_frodokem_976_aes_encaps
|
||||
OQS_KEM_frodokem_976_aes_keypair
|
||||
OQS_KEM_frodokem_976_shake_decaps
|
||||
OQS_KEM_frodokem_976_shake_encaps
|
||||
OQS_KEM_frodokem_976_shake_keypair
|
||||
OQS_KEM_frodokem_1344_aes_decaps
|
||||
OQS_KEM_frodokem_1344_aes_encaps
|
||||
OQS_KEM_frodokem_1344_aes_keypair
|
||||
OQS_KEM_frodokem_1344_shake_decaps
|
||||
OQS_KEM_frodokem_1344_shake_encaps
|
||||
OQS_KEM_frodokem_1344_shake_keypair
|
||||
OQS_KEM_kyber_kyber512_decaps
|
||||
OQS_KEM_kyber_kyber512_encaps
|
||||
OQS_KEM_kyber_kyber512_keypair
|
||||
OQS_KEM_kyber_kyber768_decaps
|
||||
OQS_KEM_kyber_kyber768_encaps
|
||||
OQS_KEM_kyber_kyber768_keypair
|
||||
OQS_KEM_kyber_kyber1024_decaps
|
||||
OQS_KEM_kyber_kyber1024_encaps
|
||||
OQS_KEM_kyber_kyber1024_keypair
|
||||
OQS_KEM_ntru_hps2048509_decaps
|
||||
OQS_KEM_ntru_hps2048509_encaps
|
||||
OQS_KEM_ntru_hps2048509_keypair
|
||||
OQS_KEM_ntru_hps2048677_decaps
|
||||
OQS_KEM_ntru_hps2048677_encaps
|
||||
OQS_KEM_ntru_hps2048677_keypair
|
||||
OQS_KEM_ntru_hps4096821_decaps
|
||||
OQS_KEM_ntru_hps4096821_encaps
|
||||
OQS_KEM_ntru_hps4096821_keypair
|
||||
OQS_KEM_ntru_hrss701_decaps
|
||||
OQS_KEM_ntru_hrss701_encaps
|
||||
OQS_KEM_ntru_hrss701_keypair
|
||||
OQS_KEM_newhope_1024_cca_kem_decaps
|
||||
OQS_KEM_newhope_1024_cca_kem_encaps
|
||||
OQS_KEM_newhope_1024_cca_kem_keypair
|
||||
@ -56,4 +89,4 @@ EXPORTS
|
||||
OQS_SIG_picnic_L5_FS_verify
|
||||
OQS_SIG_picnic_L5_UR_keypair
|
||||
OQS_SIG_picnic_L5_UR_sign
|
||||
OQS_SIG_picnic_L5_UR_verify
|
||||
OQS_SIG_picnic_L5_UR_verify
|
||||
@ -82,6 +82,7 @@
|
||||
<ClCompile Include="..\..\src\crypto\aes\aes_c.c" />
|
||||
<ClCompile Include="..\..\src\crypto\aes\aes_ni.c" />
|
||||
<ClCompile Include="..\..\src\crypto\sha3\sha3.c" />
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_CLCOMPILE_START -->
|
||||
<ClCompile Include="..\..\src\kem\frodokem\kem_frodokem640aes.c" />
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem640aes_clean\kem.c" />
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem640aes_clean\matrix_aes.c" />
|
||||
@ -112,6 +113,72 @@
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem1344shake_clean\matrix_shake.c" />
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem1344shake_clean\noise.c" />
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem1344shake_clean\util.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\kem_kyber512.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\cbd.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\indcpa.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\kem.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\ntt.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\poly.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\polyvec.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\reduce.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\verify.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\symmetric-fips202.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\kem_kyber768.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\cbd.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\indcpa.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\kem.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\ntt.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\poly.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\polyvec.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\reduce.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\verify.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\symmetric-fips202.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\kem_kyber1024.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\cbd.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\indcpa.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\kem.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\ntt.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\poly.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\polyvec.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\reduce.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\verify.c" />
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\symmetric-fips202.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\kem_ntruhps2048509.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\crypto_sort.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\kem.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\owcpa.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\pack3.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\packq.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\poly.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\sample.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\verify.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\kem_ntruhps2048677.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\crypto_sort.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\kem.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\owcpa.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\pack3.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\packq.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\poly.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\sample.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\verify.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\kem_ntruhps4096821.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\crypto_sort.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\kem.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\owcpa.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\pack3.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\packq.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\poly.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\sample.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\verify.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\kem_ntruhrss701.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhrss701_clean\kem.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhrss701_clean\owcpa.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhrss701_clean\pack3.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhrss701_clean\packq.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhrss701_clean\poly.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhrss701_clean\sample.c" />
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhrss701_clean\verify.c" />
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_CLCOMPILE_END -->
|
||||
<ClCompile Include="..\..\src\kem\newhopenist\kem_newhopenist.c" />
|
||||
<ClCompile Include="..\..\src\kem\kem.c" />
|
||||
<ClCompile Include="..\..\src\kem\newhopenist\win_newhope1024cca.c" />
|
||||
@ -277,6 +344,7 @@
|
||||
<SubSystem>Windows</SubSystem>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_DEBUG_WIN32_START-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
@ -288,11 +356,14 @@ copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\frodokem\kem_frodokem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kyber\kem_kyber.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\ntru\kem_ntru.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_DEBUG_WIN32_END -->
|
||||
</PreBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|Win32'">
|
||||
@ -312,6 +383,7 @@ copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"
|
||||
<ModuleDefinitionFile>dll.def</ModuleDefinitionFile>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_DEBUGDLL_WIN32_START-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
@ -323,11 +395,14 @@ copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\frodokem\kem_frodokem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kyber\kem_kyber.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\ntru\kem_ntru.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_DEBUGDLL_WIN32_END -->
|
||||
</PreBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
@ -347,6 +422,7 @@ copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"
|
||||
<SubSystem>Windows</SubSystem>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_DEBUG_X64_START-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
@ -358,11 +434,14 @@ copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\frodokem\kem_frodokem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kyber\kem_kyber.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\ntru\kem_ntru.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_DEBUG_X64_END -->
|
||||
</PreBuildEvent>
|
||||
<Lib>
|
||||
<AdditionalOptions>/ignore:4006 %(AdditionalOptions)</AdditionalOptions>
|
||||
@ -389,6 +468,7 @@ copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"
|
||||
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_DEBUGDLL_X64_START-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
@ -400,11 +480,14 @@ copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\frodokem\kem_frodokem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kyber\kem_kyber.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\ntru\kem_ntru.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_DEBUGDLL_X64_END -->
|
||||
</PreBuildEvent>
|
||||
<Lib>
|
||||
<AdditionalOptions>/ignore:4006 %(AdditionalOptions)</AdditionalOptions>
|
||||
@ -430,6 +513,7 @@ copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_RELEASE_WIN32_START-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
@ -441,11 +525,14 @@ copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\frodokem\kem_frodokem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kyber\kem_kyber.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\ntru\kem_ntru.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_RELEASE_WIN32_END -->
|
||||
</PreBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|Win32'">
|
||||
@ -469,6 +556,7 @@ copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"
|
||||
<ModuleDefinitionFile>dll.def</ModuleDefinitionFile>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_RELEASEDLL_WIN32_START-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
@ -480,11 +568,14 @@ copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\frodokem\kem_frodokem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kyber\kem_kyber.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\ntru\kem_ntru.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_RELEASEDLL_WIN32_END -->
|
||||
</PreBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
@ -508,6 +599,7 @@ copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_RELEASE_X64_START-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
@ -519,11 +611,14 @@ copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\frodokem\kem_frodokem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kyber\kem_kyber.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\ntru\kem_ntru.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_RELEASE_X64_END -->
|
||||
</PreBuildEvent>
|
||||
<Lib>
|
||||
<AdditionalOptions>/ignore:4006 %(AdditionalOptions)</AdditionalOptions>
|
||||
@ -554,6 +649,7 @@ copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"
|
||||
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_RELEASEDLL_X64_START-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
@ -565,11 +661,14 @@ copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\frodokem\kem_frodokem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kyber\kem_kyber.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\ntru\kem_ntru.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_PREBUILD_EVENT_COMMAND_RELEASEDLL_X64_END -->
|
||||
</PreBuildEvent>
|
||||
<Lib>
|
||||
<AdditionalOptions>/ignore:4006 %(AdditionalOptions)</AdditionalOptions>
|
||||
|
||||
@ -25,96 +25,293 @@
|
||||
<ClCompile Include="..\..\src\kem\kem.c">
|
||||
<Filter>kem</Filter>
|
||||
</ClCompile>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_CLCOMPILE_START -->
|
||||
<ClCompile Include="..\..\src\kem\frodokem\kem_frodokem640aes.c">
|
||||
<Filter>frodo\640aes</Filter>
|
||||
<Filter>frodokem\640_aes</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem640aes_clean\kem.c">
|
||||
<Filter>frodo\640aes</Filter>
|
||||
<Filter>frodokem\640_aes</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem640aes_clean\matrix_aes.c">
|
||||
<Filter>frodo\640aes</Filter>
|
||||
<Filter>frodokem\640_aes</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem640aes_clean\noise.c">
|
||||
<Filter>frodo\640aes</Filter>
|
||||
<Filter>frodokem\640_aes</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem640aes_clean\util.c">
|
||||
<Filter>frodo\640aes</Filter>
|
||||
<Filter>frodokem\640_aes</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\kem_frodokem640shake.c">
|
||||
<Filter>frodo\640shake</Filter>
|
||||
<Filter>frodokem\640_shake</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem640shake_clean\kem.c">
|
||||
<Filter>frodo\640shake</Filter>
|
||||
<Filter>frodokem\640_shake</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem640shake_clean\matrix_shake.c">
|
||||
<Filter>frodo\640shake</Filter>
|
||||
<Filter>frodokem\640_shake</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem640shake_clean\noise.c">
|
||||
<Filter>frodo\640shake</Filter>
|
||||
<Filter>frodokem\640_shake</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem640shake_clean\util.c">
|
||||
<Filter>frodo\640shake</Filter>
|
||||
<Filter>frodokem\640_shake</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\kem_frodokem976aes.c">
|
||||
<Filter>frodo\976aes</Filter>
|
||||
<Filter>frodokem\976_aes</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem976aes_clean\kem.c">
|
||||
<Filter>frodo\976aes</Filter>
|
||||
<Filter>frodokem\976_aes</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem976aes_clean\matrix_aes.c">
|
||||
<Filter>frodo\976aes</Filter>
|
||||
<Filter>frodokem\976_aes</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem976aes_clean\noise.c">
|
||||
<Filter>frodo\976aes</Filter>
|
||||
<Filter>frodokem\976_aes</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem976aes_clean\util.c">
|
||||
<Filter>frodo\976aes</Filter>
|
||||
<Filter>frodokem\976_aes</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\kem_frodokem976shake.c">
|
||||
<Filter>frodo\976shake</Filter>
|
||||
<Filter>frodokem\976_shake</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem976shake_clean\kem.c">
|
||||
<Filter>frodo\976shake</Filter>
|
||||
<Filter>frodokem\976_shake</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem976shake_clean\matrix_shake.c">
|
||||
<Filter>frodo\976shake</Filter>
|
||||
<Filter>frodokem\976_shake</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem976shake_clean\noise.c">
|
||||
<Filter>frodo\976shake</Filter>
|
||||
<Filter>frodokem\976_shake</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem976shake_clean\util.c">
|
||||
<Filter>frodo\976shake</Filter>
|
||||
<Filter>frodokem\976_shake</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\kem_frodokem1344aes.c">
|
||||
<Filter>frodo\1344aes</Filter>
|
||||
<Filter>frodokem\1344_aes</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem1344aes_clean\kem.c">
|
||||
<Filter>frodo\1344aes</Filter>
|
||||
<Filter>frodokem\1344_aes</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem1344aes_clean\matrix_aes.c">
|
||||
<Filter>frodo\1344aes</Filter>
|
||||
<Filter>frodokem\1344_aes</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem1344aes_clean\noise.c">
|
||||
<Filter>frodo\1344aes</Filter>
|
||||
<Filter>frodokem\1344_aes</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem1344aes_clean\util.c">
|
||||
<Filter>frodo\1344aes</Filter>
|
||||
<Filter>frodokem\1344_aes</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\kem_frodokem1344shake.c">
|
||||
<Filter>frodo\1344shake</Filter>
|
||||
<Filter>frodokem\1344_shake</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem1344shake_clean\kem.c">
|
||||
<Filter>frodo\1344shake</Filter>
|
||||
<Filter>frodokem\1344_shake</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem1344shake_clean\matrix_shake.c">
|
||||
<Filter>frodo\1344shake</Filter>
|
||||
<Filter>frodokem\1344_shake</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem1344shake_clean\noise.c">
|
||||
<Filter>frodo\1344shake</Filter>
|
||||
<Filter>frodokem\1344_shake</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\frodokem\pqclean_frodokem1344shake_clean\util.c">
|
||||
<Filter>frodo\1344shake</Filter>
|
||||
<Filter>frodokem\1344_shake</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\kem_kyber512.c">
|
||||
<Filter>kyber\kyber512</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\cbd.c">
|
||||
<Filter>kyber\kyber512</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\indcpa.c">
|
||||
<Filter>kyber\kyber512</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\kem.c">
|
||||
<Filter>kyber\kyber512</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\ntt.c">
|
||||
<Filter>kyber\kyber512</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\poly.c">
|
||||
<Filter>kyber\kyber512</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\polyvec.c">
|
||||
<Filter>kyber\kyber512</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\reduce.c">
|
||||
<Filter>kyber\kyber512</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\verify.c">
|
||||
<Filter>kyber\kyber512</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber512_clean\symmetric-fips202.c">
|
||||
<Filter>kyber\kyber512</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\kem_kyber768.c">
|
||||
<Filter>kyber\kyber768</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\cbd.c">
|
||||
<Filter>kyber\kyber768</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\indcpa.c">
|
||||
<Filter>kyber\kyber768</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\kem.c">
|
||||
<Filter>kyber\kyber768</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\ntt.c">
|
||||
<Filter>kyber\kyber768</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\poly.c">
|
||||
<Filter>kyber\kyber768</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\polyvec.c">
|
||||
<Filter>kyber\kyber768</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\reduce.c">
|
||||
<Filter>kyber\kyber768</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\verify.c">
|
||||
<Filter>kyber\kyber768</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber768_clean\symmetric-fips202.c">
|
||||
<Filter>kyber\kyber768</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\kem_kyber1024.c">
|
||||
<Filter>kyber\kyber1024</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\cbd.c">
|
||||
<Filter>kyber\kyber1024</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\indcpa.c">
|
||||
<Filter>kyber\kyber1024</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\kem.c">
|
||||
<Filter>kyber\kyber1024</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\ntt.c">
|
||||
<Filter>kyber\kyber1024</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\poly.c">
|
||||
<Filter>kyber\kyber1024</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\polyvec.c">
|
||||
<Filter>kyber\kyber1024</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\reduce.c">
|
||||
<Filter>kyber\kyber1024</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\verify.c">
|
||||
<Filter>kyber\kyber1024</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\kyber\pqclean_kyber1024_clean\symmetric-fips202.c">
|
||||
<Filter>kyber\kyber1024</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\kem_ntruhps2048509.c">
|
||||
<Filter>ntru\hps2048509</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\crypto_sort.c">
|
||||
<Filter>ntru\hps2048509</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\kem.c">
|
||||
<Filter>ntru\hps2048509</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\owcpa.c">
|
||||
<Filter>ntru\hps2048509</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\pack3.c">
|
||||
<Filter>ntru\hps2048509</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\packq.c">
|
||||
<Filter>ntru\hps2048509</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\poly.c">
|
||||
<Filter>ntru\hps2048509</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\sample.c">
|
||||
<Filter>ntru\hps2048509</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048509_clean\verify.c">
|
||||
<Filter>ntru\hps2048509</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\kem_ntruhps2048677.c">
|
||||
<Filter>ntru\hps2048677</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\crypto_sort.c">
|
||||
<Filter>ntru\hps2048677</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\kem.c">
|
||||
<Filter>ntru\hps2048677</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\owcpa.c">
|
||||
<Filter>ntru\hps2048677</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\pack3.c">
|
||||
<Filter>ntru\hps2048677</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\packq.c">
|
||||
<Filter>ntru\hps2048677</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\poly.c">
|
||||
<Filter>ntru\hps2048677</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\sample.c">
|
||||
<Filter>ntru\hps2048677</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps2048677_clean\verify.c">
|
||||
<Filter>ntru\hps2048677</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\kem_ntruhps4096821.c">
|
||||
<Filter>ntru\hps4096821</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\crypto_sort.c">
|
||||
<Filter>ntru\hps4096821</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\kem.c">
|
||||
<Filter>ntru\hps4096821</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\owcpa.c">
|
||||
<Filter>ntru\hps4096821</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\pack3.c">
|
||||
<Filter>ntru\hps4096821</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\packq.c">
|
||||
<Filter>ntru\hps4096821</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\poly.c">
|
||||
<Filter>ntru\hps4096821</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\sample.c">
|
||||
<Filter>ntru\hps4096821</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhps4096821_clean\verify.c">
|
||||
<Filter>ntru\hps4096821</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\kem_ntruhrss701.c">
|
||||
<Filter>ntru\hrss701</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhrss701_clean\kem.c">
|
||||
<Filter>ntru\hrss701</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhrss701_clean\owcpa.c">
|
||||
<Filter>ntru\hrss701</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhrss701_clean\pack3.c">
|
||||
<Filter>ntru\hrss701</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhrss701_clean\packq.c">
|
||||
<Filter>ntru\hrss701</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhrss701_clean\poly.c">
|
||||
<Filter>ntru\hrss701</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhrss701_clean\sample.c">
|
||||
<Filter>ntru\hrss701</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\kem\ntru\pqclean_ntruhrss701_clean\verify.c">
|
||||
<Filter>ntru\hrss701</Filter>
|
||||
</ClCompile>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_CLCOMPILE_END -->
|
||||
<ClCompile Include="..\..\src\kem\sike\kem_sike.c">
|
||||
<Filter>sike</Filter>
|
||||
</ClCompile>
|
||||
@ -334,23 +531,46 @@
|
||||
<Filter Include="newhopenist">
|
||||
<UniqueIdentifier>{cb72ff2d-77c6-4e60-a04e-6aad5fc6c328}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="frodo\640aes">
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_FILTER_START -->
|
||||
<Filter Include="frodokem\640_aes">
|
||||
<UniqueIdentifier>{453e77f7-95b8-4adc-adc8-033fe561c018}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="frodo\976aes">
|
||||
<UniqueIdentifier>{c94df6b4-9bff-4578-afc4-b6231012249a}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="frodo\1344aes">
|
||||
<UniqueIdentifier>{3c0ce99d-3db6-4a29-8c4d-d1fd4fcda1ab}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="frodo\640shake">
|
||||
<Filter Include="frodokem\640_shake">
|
||||
<UniqueIdentifier>{0e47e6c0-e5f5-4614-8d31-e0d3caea98eb}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="frodo\976shake">
|
||||
<Filter Include="frodokem\976_aes">
|
||||
<UniqueIdentifier>{c94df6b4-9bff-4578-afc4-b6231012249a}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="frodokem\976_shake">
|
||||
<UniqueIdentifier>{90a8df32-f17b-431b-b488-7a21b1c7d2d3}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="frodo\1344shake">
|
||||
<Filter Include="frodokem\1344_aes">
|
||||
<UniqueIdentifier>{3c0ce99d-3db6-4a29-8c4d-d1fd4fcda1ab}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="frodokem\1344_shake">
|
||||
<UniqueIdentifier>{de0439be-1a4f-42e3-90f1-e667ccad442b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="kyber\kyber512">
|
||||
<UniqueIdentifier>{80001dfa-c3e2-478f-8705-95bafd3f33d3}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="kyber\kyber768">
|
||||
<UniqueIdentifier>{815e88b5-b5d7-43c6-b0c0-2a045a0c7aa6}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="kyber\kyber1024">
|
||||
<UniqueIdentifier>{fd3c9627-9462-409f-9cdb-0c6566370dbe}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="ntru\hps2048509">
|
||||
<UniqueIdentifier>{bafe52e5-36c3-462c-9471-147904f60836}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="ntru\hps2048677">
|
||||
<UniqueIdentifier>{bc485581-d690-4659-b686-ff11c5280698}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="ntru\hps4096821">
|
||||
<UniqueIdentifier>{e89f8171-bf1d-4ebf-925b-9572af2e4200}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="ntru\hrss701">
|
||||
<UniqueIdentifier>{96485f85-7dd5-4df3-a1cd-769da06d3ada}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<!-- OQS_COPY_FROM_PQCLEAN_FRAGMENT_FILTER_END -->
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@ -2,12 +2,21 @@
|
||||
#define __WINCONFIG_H
|
||||
|
||||
/* Enable schemes supported on Windows */
|
||||
///// OQS_COPY_FROM_PQCLEAN_FRAGMENT_KEMS_START
|
||||
#define OQS_ENABLE_KEM_frodokem_640_aes
|
||||
#define OQS_ENABLE_KEM_frodokem_640_shake
|
||||
#define OQS_ENABLE_KEM_frodokem_976_aes
|
||||
#define OQS_ENABLE_KEM_frodokem_976_shake
|
||||
#define OQS_ENABLE_KEM_frodokem_1344_aes
|
||||
#define OQS_ENABLE_KEM_frodokem_1344_shake
|
||||
#define OQS_ENABLE_KEM_kyber_kyber512
|
||||
#define OQS_ENABLE_KEM_kyber_kyber768
|
||||
#define OQS_ENABLE_KEM_kyber_kyber1024
|
||||
#define OQS_ENABLE_KEM_ntru_hps2048509
|
||||
#define OQS_ENABLE_KEM_ntru_hps2048677
|
||||
#define OQS_ENABLE_KEM_ntru_hps4096821
|
||||
#define OQS_ENABLE_KEM_ntru_hrss701
|
||||
///// OQS_COPY_FROM_PQCLEAN_FRAGMENT_KEMS_END
|
||||
#define OQS_ENABLE_KEM_newhope_1024_cca_kem
|
||||
#define OQS_ENABLE_KEM_newhope_512_cca_kem
|
||||
#define OQS_ENABLE_KEM_sike_p503
|
||||
|
||||
57
scripts/copy_from_pqclean/VisualStudio/oqs/dll.def
Normal file
57
scripts/copy_from_pqclean/VisualStudio/oqs/dll.def
Normal file
@ -0,0 +1,57 @@
|
||||
LIBRARY oqs
|
||||
EXPORTS
|
||||
OQS_KEM_alg_identifier
|
||||
OQS_KEM_alg_count
|
||||
OQS_KEM_new
|
||||
OQS_KEM_keypair
|
||||
OQS_KEM_encaps
|
||||
OQS_KEM_decaps
|
||||
OQS_KEM_free
|
||||
{%- for family in kems %}{% for scheme in family['schemes'] %}
|
||||
OQS_KEM_{{ family['name'] }}_{{ scheme['scheme'] }}_decaps
|
||||
OQS_KEM_{{ family['name'] }}_{{ scheme['scheme'] }}_encaps
|
||||
OQS_KEM_{{ family['name'] }}_{{ scheme['scheme'] }}_keypair{% endfor %}{% endfor %}
|
||||
OQS_KEM_newhope_1024_cca_kem_decaps
|
||||
OQS_KEM_newhope_1024_cca_kem_encaps
|
||||
OQS_KEM_newhope_1024_cca_kem_keypair
|
||||
OQS_KEM_newhope_512_cca_kem_decaps
|
||||
OQS_KEM_newhope_512_cca_kem_encaps
|
||||
OQS_KEM_newhope_512_cca_kem_keypair
|
||||
OQS_KEM_sike_p503_decaps
|
||||
OQS_KEM_sike_p503_encaps
|
||||
OQS_KEM_sike_p503_keypair
|
||||
OQS_KEM_sike_p751_decaps
|
||||
OQS_KEM_sike_p751_encaps
|
||||
OQS_KEM_sike_p751_keypair
|
||||
OQS_MEM_cleanse
|
||||
OQS_MEM_insecure_free
|
||||
OQS_MEM_secure_free
|
||||
OQS_randombytes
|
||||
OQS_randombytes_custom_algorithm
|
||||
OQS_randombytes_nist_kat_init
|
||||
OQS_randombytes_switch_algorithm
|
||||
OQS_SIG_alg_identifier
|
||||
OQS_SIG_alg_count
|
||||
OQS_SIG_new
|
||||
OQS_SIG_keypair
|
||||
OQS_SIG_sign
|
||||
OQS_SIG_verify
|
||||
OQS_SIG_free
|
||||
OQS_SIG_picnic_L1_FS_keypair
|
||||
OQS_SIG_picnic_L1_FS_sign
|
||||
OQS_SIG_picnic_L1_FS_verify
|
||||
OQS_SIG_picnic_L1_UR_keypair
|
||||
OQS_SIG_picnic_L1_UR_sign
|
||||
OQS_SIG_picnic_L1_UR_verify
|
||||
OQS_SIG_picnic_L3_FS_keypair
|
||||
OQS_SIG_picnic_L3_FS_sign
|
||||
OQS_SIG_picnic_L3_FS_verify
|
||||
OQS_SIG_picnic_L3_UR_keypair
|
||||
OQS_SIG_picnic_L3_UR_sign
|
||||
OQS_SIG_picnic_L3_UR_verify
|
||||
OQS_SIG_picnic_L5_FS_keypair
|
||||
OQS_SIG_picnic_L5_FS_sign
|
||||
OQS_SIG_picnic_L5_FS_verify
|
||||
OQS_SIG_picnic_L5_UR_keypair
|
||||
OQS_SIG_picnic_L5_UR_sign
|
||||
OQS_SIG_picnic_L5_UR_verify
|
||||
@ -0,0 +1,9 @@
|
||||
-->{% for family in kems %}{% for scheme in family['schemes'] %}
|
||||
<ClCompile Include="..\..\src\kem\{{ family['name'] }}\kem_{{ scheme['pqclean_scheme'] }}.c">
|
||||
<Filter>{{ family['name'] }}\{{ scheme['scheme'] }}</Filter>
|
||||
</ClCompile>
|
||||
{%- for file in scheme['sources'] %}
|
||||
<ClCompile Include="..\..\src\kem\{{ family['name'] }}\pqclean_{{ scheme['pqclean_scheme'] }}_{{ scheme['implementation'] }}\{{ file }}">
|
||||
<Filter>{{ family['name'] }}\{{ scheme['scheme'] }}</Filter>
|
||||
</ClCompile>{% endfor %}{% endfor %}{% endfor %}
|
||||
|
||||
@ -0,0 +1,5 @@
|
||||
-->{% for family in kems %}{% for scheme in family['schemes'] %}
|
||||
<Filter Include="{{ family['name'] }}\{{ scheme['scheme'] }}">
|
||||
<UniqueIdentifier>{{ '{'}}{{ scheme['visual_studio_guid'] }}{{ '}' }}</UniqueIdentifier>
|
||||
</Filter>{% endfor %}{% endfor %}
|
||||
|
||||
@ -0,0 +1,5 @@
|
||||
-->{% for family in kems %}{% for scheme in family['schemes'] %}
|
||||
<ClCompile Include="..\..\src\kem\{{ family['name'] }}\kem_{{ scheme['pqclean_scheme'] }}.c" />
|
||||
{%- for file in scheme['sources'] %}
|
||||
<ClCompile Include="..\..\src\kem\{{ family['name'] }}\pqclean_{{ scheme['pqclean_scheme'] }}_{{ scheme['implementation'] }}\{{ file }}" />{% endfor %}{% endfor %}{% endfor %}
|
||||
|
||||
@ -0,0 +1,19 @@
|
||||
-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\oqs.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\common.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\rand.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\aes\aes.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
{%- for family in kems %}
|
||||
copy "$(SolutionDir)..\src\kem\{{ family['name'] }}\kem_{{ family['name'] }}.h" "$(SolutionDir)include\oqs\"{% endfor %}
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
|
||||
@ -0,0 +1,19 @@
|
||||
-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\oqs.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\common.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\rand.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\aes\aes.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
{%- for family in kems %}
|
||||
copy "$(SolutionDir)..\src\kem\{{ family['name'] }}\kem_{{ family['name'] }}.h" "$(SolutionDir)include\oqs\"{% endfor %}
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
|
||||
@ -0,0 +1,19 @@
|
||||
-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\oqs.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\common.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\rand.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\aes\aes.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
{%- for family in kems %}
|
||||
copy "$(SolutionDir)..\src\kem\{{ family['name'] }}\kem_{{ family['name'] }}.h" "$(SolutionDir)include\oqs\"{% endfor %}
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
|
||||
@ -0,0 +1,19 @@
|
||||
-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\oqs.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\common.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\rand.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\aes\aes.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
{%- for family in kems %}
|
||||
copy "$(SolutionDir)..\src\kem\{{ family['name'] }}\kem_{{ family['name'] }}.h" "$(SolutionDir)include\oqs\"{% endfor %}
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
|
||||
@ -0,0 +1,19 @@
|
||||
-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\oqs.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\common.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\rand.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\aes\aes.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
{%- for family in kems %}
|
||||
copy "$(SolutionDir)..\src\kem\{{ family['name'] }}\kem_{{ family['name'] }}.h" "$(SolutionDir)include\oqs\"{% endfor %}
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
|
||||
@ -0,0 +1,19 @@
|
||||
-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\oqs.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\common.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\rand.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\aes\aes.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
{%- for family in kems %}
|
||||
copy "$(SolutionDir)..\src\kem\{{ family['name'] }}\kem_{{ family['name'] }}.h" "$(SolutionDir)include\oqs\"{% endfor %}
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
|
||||
@ -0,0 +1,19 @@
|
||||
-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\oqs.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\common.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\rand.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\aes\aes.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
{%- for family in kems %}
|
||||
copy "$(SolutionDir)..\src\kem\{{ family['name'] }}\kem_{{ family['name'] }}.h" "$(SolutionDir)include\oqs\"{% endfor %}
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
|
||||
@ -0,0 +1,19 @@
|
||||
-->
|
||||
<Command>mkdir "$(SolutionDir)include\oqs"
|
||||
del /Q "$(SolutionDir)include\oqs\*.*"
|
||||
copy "$(SolutionDir)winconfig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\oqs.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\common.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\common\rand.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\aes\aes.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\crypto\sha3\sha3.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\kem.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\bike\kem_bike.h" "$(SolutionDir)include\oqs\"
|
||||
{%- for family in kems %}
|
||||
copy "$(SolutionDir)..\src\kem\{{ family['name'] }}\kem_{{ family['name'] }}.h" "$(SolutionDir)include\oqs\"{% endfor %}
|
||||
copy "$(SolutionDir)..\src\kem\newhopenist\kem_newhopenist.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\kem\sike\kem_sike.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\sig.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\picnic\sig_picnic.h" "$(SolutionDir)include\oqs\"
|
||||
copy "$(SolutionDir)..\src\sig\qtesla\sig_qtesla.h" "$(SolutionDir)include\oqs\"</Command>
|
||||
|
||||
@ -0,0 +1,3 @@
|
||||
{%- for family in kems %}{% for scheme in family['schemes'] %}
|
||||
#define OQS_ENABLE_KEM_{{ family['name'] }}_{{ scheme['scheme'] }}{% endfor %}{% endfor %}
|
||||
|
||||
@ -49,6 +49,9 @@ def replacer(filename, kems, delimiter):
|
||||
contents = preamble + identifier_start + jinja2.Template(template).render({'kems': kems}) + postamble
|
||||
file_put_contents(filename, contents)
|
||||
|
||||
def unix2dos(filename):
|
||||
subprocess.run(['unix2dos', filename])
|
||||
|
||||
def load_kems():
|
||||
instructions = file_get_contents(os.path.join('scripts', 'copy_from_pqclean', 'copy_from_pqclean.yml'), encoding='utf-8')
|
||||
instructions = yaml.safe_load(instructions)
|
||||
@ -105,3 +108,10 @@ replacer('configure.ac', kems, '#####')
|
||||
replacer('Makefile.am', kems, '#####')
|
||||
replacer('src/kem/kem.c', kems, '/////')
|
||||
replacer('src/kem/kem.h', kems, '/////')
|
||||
replacer('VisualStudio/winconfig.h', kems, '/////')
|
||||
generator_all('VisualStudio/oqs/dll.def', kems)
|
||||
unix2dos('VisualStudio/oqs/dll.def')
|
||||
replacer('VisualStudio/oqs/oqs.vcxproj', kems, '<!--')
|
||||
unix2dos('VisualStudio/oqs/oqs.vcxproj')
|
||||
replacer('VisualStudio/oqs/oqs.vcxproj.filters', kems, '<!--')
|
||||
unix2dos('VisualStudio/oqs/oqs.vcxproj.filters')
|
||||
|
||||
@ -8,36 +8,42 @@ kems:
|
||||
pretty_name_full: FrodoKEM-640-AES
|
||||
implementation: clean
|
||||
sources: ['kem.c', 'matrix_aes.c', 'noise.c', 'util.c']
|
||||
visual_studio_guid: 453e77f7-95b8-4adc-adc8-033fe561c018
|
||||
-
|
||||
scheme: 640_shake
|
||||
pqclean_scheme: frodokem640shake
|
||||
pretty_name_full: FrodoKEM-640-SHAKE
|
||||
implementation: clean
|
||||
sources: ['kem.c', 'matrix_shake.c', 'noise.c', 'util.c']
|
||||
visual_studio_guid: 0e47e6c0-e5f5-4614-8d31-e0d3caea98eb
|
||||
-
|
||||
scheme: 976_aes
|
||||
pqclean_scheme: frodokem976aes
|
||||
pretty_name_full: FrodoKEM-976-AES
|
||||
implementation: clean
|
||||
sources: ['kem.c', 'matrix_aes.c', 'noise.c', 'util.c']
|
||||
visual_studio_guid: c94df6b4-9bff-4578-afc4-b6231012249a
|
||||
-
|
||||
scheme: 976_shake
|
||||
pqclean_scheme: frodokem976shake
|
||||
pretty_name_full: FrodoKEM-976-SHAKE
|
||||
implementation: clean
|
||||
sources: ['kem.c', 'matrix_shake.c', 'noise.c', 'util.c']
|
||||
visual_studio_guid: 90a8df32-f17b-431b-b488-7a21b1c7d2d3
|
||||
-
|
||||
scheme: 1344_aes
|
||||
pqclean_scheme: frodokem1344aes
|
||||
pretty_name_full: FrodoKEM-1344-AES
|
||||
implementation: clean
|
||||
sources: ['kem.c', 'matrix_aes.c', 'noise.c', 'util.c']
|
||||
visual_studio_guid: 3c0ce99d-3db6-4a29-8c4d-d1fd4fcda1ab
|
||||
-
|
||||
scheme: 1344_shake
|
||||
pqclean_scheme: frodokem1344shake
|
||||
pretty_name_full: FrodoKEM-1344-SHAKE
|
||||
implementation: clean
|
||||
sources: ['kem.c', 'matrix_shake.c', 'noise.c', 'util.c']
|
||||
visual_studio_guid: de0439be-1a4f-42e3-90f1-e667ccad442b
|
||||
-
|
||||
name: kyber
|
||||
schemes:
|
||||
@ -47,18 +53,21 @@ kems:
|
||||
pretty_name_full: Kyber512
|
||||
implementation: clean
|
||||
sources: ['cbd.c', 'indcpa.c', 'kem.c', 'ntt.c', 'poly.c', 'polyvec.c', 'reduce.c', 'verify.c', 'symmetric-fips202.c']
|
||||
visual_studio_guid: 80001dfa-c3e2-478f-8705-95bafd3f33d3
|
||||
-
|
||||
scheme: kyber768
|
||||
pqclean_scheme: kyber768
|
||||
pretty_name_full: Kyber768
|
||||
implementation: clean
|
||||
sources: ['cbd.c', 'indcpa.c', 'kem.c', 'ntt.c', 'poly.c', 'polyvec.c', 'reduce.c', 'verify.c', 'symmetric-fips202.c']
|
||||
visual_studio_guid: 815e88b5-b5d7-43c6-b0c0-2a045a0c7aa6
|
||||
-
|
||||
scheme: kyber1024
|
||||
pqclean_scheme: kyber1024
|
||||
pretty_name_full: Kyber1024
|
||||
implementation: clean
|
||||
sources: ['cbd.c', 'indcpa.c', 'kem.c', 'ntt.c', 'poly.c', 'polyvec.c', 'reduce.c', 'verify.c', 'symmetric-fips202.c']
|
||||
visual_studio_guid: fd3c9627-9462-409f-9cdb-0c6566370dbe
|
||||
-
|
||||
name: ntru
|
||||
schemes:
|
||||
@ -68,21 +77,25 @@ kems:
|
||||
pretty_name_full: NTRU-HPS-2048-509
|
||||
implementation: clean
|
||||
sources: ['crypto_sort.c', 'kem.c', 'owcpa.c', 'pack3.c', 'packq.c', 'poly.c', 'sample.c', 'verify.c']
|
||||
visual_studio_guid: bafe52e5-36c3-462c-9471-147904f60836
|
||||
-
|
||||
scheme: hps2048677
|
||||
pqclean_scheme: ntruhps2048677
|
||||
pretty_name_full: NTRU-HPS-2048-677
|
||||
implementation: clean
|
||||
sources: ['crypto_sort.c', 'kem.c', 'owcpa.c', 'pack3.c', 'packq.c', 'poly.c', 'sample.c', 'verify.c']
|
||||
visual_studio_guid: bc485581-d690-4659-b686-ff11c5280698
|
||||
-
|
||||
scheme: hps4096821
|
||||
pqclean_scheme: ntruhps4096821
|
||||
pretty_name_full: NTRU-HPS-4096-821
|
||||
implementation: clean
|
||||
sources: ['crypto_sort.c', 'kem.c', 'owcpa.c', 'pack3.c', 'packq.c', 'poly.c', 'sample.c', 'verify.c']
|
||||
visual_studio_guid: e89f8171-bf1d-4ebf-925b-9572af2e4200
|
||||
-
|
||||
scheme: hrss701
|
||||
pqclean_scheme: ntruhrss701
|
||||
pretty_name_full: NTRU-HRSS-701
|
||||
implementation: clean
|
||||
sources: ['kem.c', 'owcpa.c', 'pack3.c', 'packq.c', 'poly.c', 'sample.c', 'verify.c']
|
||||
visual_studio_guid: 96485f85-7dd5-4df3-a1cd-769da06d3ada
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user