2018-12-15 09:39:12 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-09-10 08:32:04 +00:00
|
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2017-08-17 16:33:43 +00:00
|
|
|
<!-- Microsoft documentation for VCXPROJ file format is located at -->
|
|
|
|
<!-- the following URL. The documentation leaves a lot to be desired. -->
|
|
|
|
<!-- https://msdn.microsoft.com/en-us/library/2208a1f2.aspx -->
|
2016-09-10 08:32:04 +00:00
|
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
</ProjectConfiguration>
|
2016-10-03 00:32:47 +00:00
|
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Release|x64">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
</ProjectConfiguration>
|
2016-09-10 08:32:04 +00:00
|
|
|
<ProjectConfiguration Include="DLL-Import Debug|Win32">
|
|
|
|
<Configuration>DLL-Import Debug</Configuration>
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="DLL-Import Debug|x64">
|
|
|
|
<Configuration>DLL-Import Debug</Configuration>
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="DLL-Import Release|Win32">
|
|
|
|
<Configuration>DLL-Import Release</Configuration>
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="DLL-Import Release|x64">
|
|
|
|
<Configuration>DLL-Import Release</Configuration>
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
</ItemGroup>
|
2017-08-17 16:33:43 +00:00
|
|
|
<!-- Microsoft documentation clearly shows the Global property group -->
|
2022-01-04 10:06:35 +00:00
|
|
|
<!-- precedes the import of Cpp.Default.props and Cpp.props -->
|
2017-08-17 16:33:43 +00:00
|
|
|
<!-- https://msdn.microsoft.com/en-us/library/2208a1f2.aspx -->
|
2017-08-03 09:22:03 +00:00
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
<ProjectGuid>{c39f4b46-6e89-4074-902e-ca57073044d2}</ProjectGuid>
|
|
|
|
<RootNamespace>cryptlib</RootNamespace>
|
|
|
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
|
|
|
</PropertyGroup>
|
2017-08-04 04:10:11 +00:00
|
|
|
<!-- Use DefaultPlatformToolset after Microsoft.Cpp.Default.props -->
|
2016-09-10 08:32:04 +00:00
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
2017-08-04 04:10:11 +00:00
|
|
|
<!-- Set DefaultPlatformToolset to v100 (VS2010) if not defined -->
|
|
|
|
<PropertyGroup Label="EmptyDefaultPlatformToolset">
|
|
|
|
<DefaultPlatformToolset Condition=" '$(DefaultPlatformToolset)' == '' ">v100</DefaultPlatformToolset>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Label="PlatformToolset">
|
|
|
|
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
|
|
|
|
</PropertyGroup>
|
2016-09-10 08:32:04 +00:00
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
|
|
<ImportGroup Label="ExtensionSettings">
|
|
|
|
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" />
|
|
|
|
</ImportGroup>
|
2016-10-05 15:00:39 +00:00
|
|
|
<ImportGroup Label="PropertySheets">
|
2016-09-10 08:32:04 +00:00
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
</ImportGroup>
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
2016-10-05 15:00:39 +00:00
|
|
|
<!-- End of Visual Studio boilerplate -->
|
|
|
|
<!-- All Configurations -->
|
|
|
|
<PropertyGroup Label="All Configurations">
|
|
|
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
|
|
|
<TargetName>cryptlib</TargetName>
|
|
|
|
<TargetExt>.lib</TargetExt>
|
|
|
|
<UseOfMfc>false</UseOfMfc>
|
|
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
|
|
</PropertyGroup>
|
|
|
|
<!-- Intermediate and Output directories -->
|
|
|
|
<!-- Cryptlib and Cryptest need extra care due to Non-DLL/DLL configs -->
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug' Or '$(Configuration)'=='Release'" Label="Non-DLL Directories">
|
|
|
|
<OutDir>$(Platform)\Output\$(Configuration)\</OutDir>
|
|
|
|
<IntDir>$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
2016-09-10 08:32:04 +00:00
|
|
|
</PropertyGroup>
|
2016-10-05 15:00:39 +00:00
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='DLL-Import Debug'" Label="DLL Directories">
|
|
|
|
<OutDir>$(Platform)\DLL_Output\Debug\</OutDir>
|
|
|
|
<IntDir>$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='DLL-Import Release'" Label="DLL Directories">
|
|
|
|
<OutDir>$(Platform)\DLL_Output\Release\</OutDir>
|
|
|
|
<IntDir>$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
|
|
|
</PropertyGroup>
|
|
|
|
<!-- All Configurations -->
|
|
|
|
<ItemDefinitionGroup Label="All Configurations">
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile>
|
|
|
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
2016-10-05 15:00:39 +00:00
|
|
|
<ErrorReporting>None</ErrorReporting>
|
|
|
|
<WarningLevel>Level4</WarningLevel>
|
2017-08-16 15:24:48 +00:00
|
|
|
<DisableSpecificWarnings>4231; 4251; 4275; 4355; 4505</DisableSpecificWarnings>
|
2016-09-10 08:32:04 +00:00
|
|
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
|
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
2018-05-02 03:42:04 +00:00
|
|
|
<AdditionalOptions>$(AdditionalOptions)</AdditionalOptions>
|
2016-09-10 08:32:04 +00:00
|
|
|
</ClCompile>
|
2016-10-05 19:37:10 +00:00
|
|
|
<Lib>
|
|
|
|
<ErrorReporting>NoErrorReport</ErrorReporting>
|
|
|
|
</Lib>
|
2016-09-10 08:32:04 +00:00
|
|
|
</ItemDefinitionGroup>
|
2016-10-05 15:00:39 +00:00
|
|
|
<!-- Debug Configurations -->
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug' Or '$(Configuration)'=='DLL-Import Debug'" Label="Debug Configuration">
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile>
|
2016-10-05 15:00:39 +00:00
|
|
|
<PreprocessorDefinitions>USE_PRECOMPILED_HEADERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<Optimization>Disabled</Optimization>
|
2016-09-10 08:32:04 +00:00
|
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
2016-10-05 15:00:39 +00:00
|
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
2016-09-10 08:32:04 +00:00
|
|
|
</ClCompile>
|
|
|
|
<ResourceCompile>
|
2016-10-05 15:00:39 +00:00
|
|
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2016-09-10 08:32:04 +00:00
|
|
|
<Culture>0x0409</Culture>
|
|
|
|
</ResourceCompile>
|
|
|
|
</ItemDefinitionGroup>
|
2016-10-05 15:00:39 +00:00
|
|
|
<!-- Release Configurations -->
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='DLL-Import Release'" Label="Release Configuration">
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile>
|
2016-10-05 15:00:39 +00:00
|
|
|
<PreprocessorDefinitions>NDEBUG;USE_PRECOMPILED_HEADERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2016-09-10 08:32:04 +00:00
|
|
|
<OmitFramePointers>true</OmitFramePointers>
|
2016-10-05 16:36:20 +00:00
|
|
|
<Optimization>MaxSpeed</Optimization>
|
2016-10-05 15:00:39 +00:00
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
|
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
2016-09-10 08:32:04 +00:00
|
|
|
<StringPooling>true</StringPooling>
|
|
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
|
|
</ClCompile>
|
|
|
|
<ResourceCompile>
|
2016-10-05 15:00:39 +00:00
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2016-09-10 08:32:04 +00:00
|
|
|
<Culture>0x0409</Culture>
|
|
|
|
</ResourceCompile>
|
|
|
|
</ItemDefinitionGroup>
|
2016-10-05 15:00:39 +00:00
|
|
|
<!-- DLL-Import Overrides for Preprocessor -->
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='DLL-Import Debug'" Label="DLL Debug Configuration">
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile>
|
2016-10-05 15:00:39 +00:00
|
|
|
<PreprocessorDefinitions>USE_PRECOMPILED_HEADERS;CRYPTOPP_IMPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2016-09-10 08:32:04 +00:00
|
|
|
</ClCompile>
|
|
|
|
</ItemDefinitionGroup>
|
2016-10-05 15:00:39 +00:00
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='DLL-Import Release'" Label="DLL Debug Configuration">
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile>
|
2016-10-05 15:00:39 +00:00
|
|
|
<PreprocessorDefinitions>NDEBUG;USE_PRECOMPILED_HEADERS;CRYPTOPP_IMPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2016-09-10 08:32:04 +00:00
|
|
|
</ClCompile>
|
|
|
|
</ItemDefinitionGroup>
|
2016-10-05 15:00:39 +00:00
|
|
|
<!-- X86 Configurations -->
|
|
|
|
<ItemDefinitionGroup Condition="'$(Platform)'=='Win32'" Label="X86 Configuration">
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile>
|
2016-10-05 15:00:39 +00:00
|
|
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
2016-09-10 08:32:04 +00:00
|
|
|
</ClCompile>
|
2016-10-05 19:27:44 +00:00
|
|
|
<Lib>
|
2016-10-05 15:00:39 +00:00
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
2016-10-05 19:27:44 +00:00
|
|
|
<ImageHasSafeExceptionHandlers>true</ImageHasSafeExceptionHandlers>
|
|
|
|
</Lib>
|
2016-09-10 08:32:04 +00:00
|
|
|
</ItemDefinitionGroup>
|
2016-10-05 15:00:39 +00:00
|
|
|
<!-- X64 Configurations -->
|
|
|
|
<ItemDefinitionGroup Condition="'$(Platform)'=='x64'" Label="X64 Configuration">
|
2016-10-05 19:27:44 +00:00
|
|
|
<Lib>
|
2016-10-05 15:00:39 +00:00
|
|
|
<TargetMachine>MachineX64</TargetMachine>
|
2016-10-05 19:27:44 +00:00
|
|
|
</Lib>
|
2016-09-10 08:32:04 +00:00
|
|
|
</ItemDefinitionGroup>
|
2016-10-05 15:00:39 +00:00
|
|
|
<!-- Original File with special treatment -->
|
|
|
|
<!-- Source Files -->
|
2016-10-06 21:13:29 +00:00
|
|
|
<!-- The order of the first three matters -->
|
2016-09-10 08:32:04 +00:00
|
|
|
<ItemGroup>
|
2016-10-06 21:13:29 +00:00
|
|
|
<ClCompile Include="cryptlib.cpp" />
|
|
|
|
<ClCompile Include="cpu.cpp" />
|
|
|
|
<ClCompile Include="integer.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="3way.cpp" />
|
|
|
|
<ClCompile Include="adler32.cpp" />
|
|
|
|
<ClCompile Include="algebra.cpp" />
|
|
|
|
<ClCompile Include="algparam.cpp" />
|
2019-09-28 22:22:11 +00:00
|
|
|
<ClCompile Include="allocate.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="arc4.cpp" />
|
2017-04-10 14:52:40 +00:00
|
|
|
<ClCompile Include="aria.cpp" />
|
2018-11-10 13:00:14 +00:00
|
|
|
<ClCompile Include="aria_simd.cpp" />
|
2017-08-17 16:33:43 +00:00
|
|
|
<ClCompile Include="ariatab.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="asn.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile Include="authenc.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="base32.cpp" />
|
|
|
|
<ClCompile Include="base64.cpp" />
|
|
|
|
<ClCompile Include="basecode.cpp" />
|
|
|
|
<ClCompile Include="bfinit.cpp" />
|
|
|
|
<ClCompile Include="blake2.cpp" />
|
2018-11-10 13:00:14 +00:00
|
|
|
<ClCompile Include="blake2s_simd.cpp" />
|
|
|
|
<ClCompile Include="blake2b_simd.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="blowfish.cpp" />
|
|
|
|
<ClCompile Include="blumshub.cpp" />
|
|
|
|
<ClCompile Include="camellia.cpp" />
|
|
|
|
<ClCompile Include="cast.cpp" />
|
|
|
|
<ClCompile Include="casts.cpp" />
|
|
|
|
<ClCompile Include="cbcmac.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile Include="ccm.cpp" />
|
|
|
|
<ClCompile Include="chacha.cpp" />
|
2018-11-10 13:00:14 +00:00
|
|
|
<ClCompile Include="chacha_simd.cpp" />
|
|
|
|
<ClCompile Include="chacha_avx.cpp">
|
2018-11-08 21:20:31 +00:00
|
|
|
<!-- Requires Visual Studio 2013 and above -->
|
|
|
|
<ExcludedFromBuild Condition=" '$(PlatformToolset)' == 'v100' Or '$(PlatformToolset)' == 'v110' ">true</ExcludedFromBuild>
|
2018-11-13 05:01:55 +00:00
|
|
|
<EnableEnhancedInstructionSet>AdvancedVectorExtensions2</EnableEnhancedInstructionSet>
|
2018-11-08 21:20:31 +00:00
|
|
|
</ClCompile>
|
2019-01-28 13:52:56 +00:00
|
|
|
<ClCompile Include="chachapoly.cpp" />
|
2018-06-18 03:24:47 +00:00
|
|
|
<ClCompile Include="cham.cpp" />
|
2018-11-10 13:00:14 +00:00
|
|
|
<ClCompile Include="cham_simd.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="channels.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile Include="cmac.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="crc.cpp" />
|
2018-11-10 13:00:14 +00:00
|
|
|
<ClCompile Include="crc_simd.cpp" />
|
2018-11-29 02:51:39 +00:00
|
|
|
<ClCompile Include="darn.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="default.cpp" />
|
|
|
|
<ClCompile Include="des.cpp" />
|
|
|
|
<ClCompile Include="dessp.cpp" />
|
|
|
|
<ClCompile Include="dh.cpp" />
|
|
|
|
<ClCompile Include="dh2.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile Include="dll.cpp">
|
2016-10-02 18:39:58 +00:00
|
|
|
<PrecompiledHeader />
|
2016-09-10 08:32:04 +00:00
|
|
|
</ClCompile>
|
2018-12-11 21:17:56 +00:00
|
|
|
<ClCompile Include="donna_32.cpp" />
|
|
|
|
<ClCompile Include="donna_64.cpp" />
|
2018-12-13 15:19:54 +00:00
|
|
|
<ClCompile Include="donna_sse.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="dsa.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile Include="eax.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="ec2n.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile Include="eccrypto.cpp">
|
2016-10-02 18:39:58 +00:00
|
|
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
2016-09-10 08:32:04 +00:00
|
|
|
</ClCompile>
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="ecp.cpp" />
|
|
|
|
<ClCompile Include="elgamal.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile Include="emsa2.cpp" />
|
|
|
|
<ClCompile Include="eprecomp.cpp">
|
2016-10-02 18:39:58 +00:00
|
|
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
2016-09-10 08:32:04 +00:00
|
|
|
</ClCompile>
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="esign.cpp" />
|
|
|
|
<ClCompile Include="files.cpp" />
|
|
|
|
<ClCompile Include="filters.cpp" />
|
|
|
|
<ClCompile Include="fips140.cpp" />
|
|
|
|
<ClCompile Include="fipstest.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile Include="gcm.cpp" />
|
2018-11-10 13:00:14 +00:00
|
|
|
<ClCompile Include="gcm_simd.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="gf256.cpp" />
|
|
|
|
<ClCompile Include="gf2_32.cpp" />
|
|
|
|
<ClCompile Include="gf2n.cpp" />
|
2019-01-16 05:02:04 +00:00
|
|
|
<ClCompile Include="gf2n_simd.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="gfpcrypt.cpp" />
|
|
|
|
<ClCompile Include="gost.cpp" />
|
|
|
|
<ClCompile Include="gzip.cpp" />
|
2018-07-05 04:29:07 +00:00
|
|
|
<ClCompile Include="hc128.cpp" />
|
2018-07-05 10:43:04 +00:00
|
|
|
<ClCompile Include="hc256.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="hex.cpp" />
|
2018-06-24 04:54:16 +00:00
|
|
|
<ClCompile Include="hight.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="hmac.cpp" />
|
|
|
|
<ClCompile Include="hrtimer.cpp" />
|
|
|
|
<ClCompile Include="ida.cpp" />
|
|
|
|
<ClCompile Include="idea.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile Include="iterhash.cpp">
|
2016-10-02 18:39:58 +00:00
|
|
|
<PrecompiledHeader />
|
2016-09-10 08:32:04 +00:00
|
|
|
</ClCompile>
|
2017-05-06 04:24:35 +00:00
|
|
|
<ClCompile Include="kalyna.cpp" />
|
|
|
|
<ClCompile Include="kalynatab.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="keccak.cpp" />
|
2019-02-13 00:51:37 +00:00
|
|
|
<ClCompile Include="keccak_core.cpp" />
|
|
|
|
<ClCompile Include="keccak_simd.cpp" />
|
2018-06-18 02:36:41 +00:00
|
|
|
<ClCompile Include="lea.cpp" />
|
2018-11-10 13:00:14 +00:00
|
|
|
<ClCompile Include="lea_simd.cpp" />
|
2021-04-16 10:12:28 +00:00
|
|
|
<ClCompile Include="lsh256.cpp" />
|
2021-04-26 08:50:48 +00:00
|
|
|
<ClCompile Include="lsh256_sse.cpp" />
|
|
|
|
<ClCompile Include="lsh256_avx.cpp" />
|
2021-04-16 10:12:28 +00:00
|
|
|
<ClCompile Include="lsh512.cpp" />
|
2021-04-26 08:50:48 +00:00
|
|
|
<ClCompile Include="lsh512_sse.cpp" />
|
|
|
|
<ClCompile Include="lsh512_avx.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="luc.cpp" />
|
|
|
|
<ClCompile Include="mars.cpp" />
|
|
|
|
<ClCompile Include="marss.cpp" />
|
|
|
|
<ClCompile Include="md2.cpp" />
|
|
|
|
<ClCompile Include="md4.cpp" />
|
|
|
|
<ClCompile Include="md5.cpp" />
|
|
|
|
<ClCompile Include="misc.cpp" />
|
|
|
|
<ClCompile Include="modes.cpp" />
|
|
|
|
<ClCompile Include="mqueue.cpp" />
|
|
|
|
<ClCompile Include="mqv.cpp" />
|
|
|
|
<ClCompile Include="nbtheory.cpp" />
|
|
|
|
<ClCompile Include="oaep.cpp" />
|
|
|
|
<ClCompile Include="osrng.cpp" />
|
2017-08-19 19:41:45 +00:00
|
|
|
<ClCompile Include="padlkrng.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="panama.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile Include="pch.cpp">
|
2016-10-02 18:39:58 +00:00
|
|
|
<PrecompiledHeader>Create</PrecompiledHeader>
|
2016-09-10 08:32:04 +00:00
|
|
|
</ClCompile>
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="pkcspad.cpp" />
|
2016-11-27 21:56:57 +00:00
|
|
|
<ClCompile Include="poly1305.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="polynomi.cpp" />
|
|
|
|
<ClCompile Include="pssr.cpp" />
|
|
|
|
<ClCompile Include="pubkey.cpp" />
|
|
|
|
<ClCompile Include="queue.cpp" />
|
|
|
|
<ClCompile Include="rabin.cpp" />
|
|
|
|
<ClCompile Include="randpool.cpp" />
|
2018-07-04 07:47:28 +00:00
|
|
|
<ClCompile Include="rabbit.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="rc2.cpp" />
|
|
|
|
<ClCompile Include="rc5.cpp" />
|
|
|
|
<ClCompile Include="rc6.cpp" />
|
|
|
|
<ClCompile Include="rdrand.cpp" />
|
|
|
|
<ClCompile Include="rdtables.cpp" />
|
|
|
|
<ClCompile Include="rijndael.cpp" />
|
2018-11-10 13:00:14 +00:00
|
|
|
<ClCompile Include="rijndael_simd.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="ripemd.cpp" />
|
|
|
|
<ClCompile Include="rng.cpp" />
|
|
|
|
<ClCompile Include="rsa.cpp" />
|
|
|
|
<ClCompile Include="rw.cpp" />
|
|
|
|
<ClCompile Include="safer.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile Include="salsa.cpp" />
|
2018-04-01 00:09:38 +00:00
|
|
|
<ClCompile Include="scrypt.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="seal.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile Include="seed.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="serpent.cpp" />
|
|
|
|
<ClCompile Include="sha.cpp" />
|
2018-11-10 13:00:14 +00:00
|
|
|
<ClCompile Include="sha_simd.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile Include="sha3.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="shacal2.cpp" />
|
2018-11-10 13:00:14 +00:00
|
|
|
<ClCompile Include="shacal2_simd.cpp" />
|
2019-02-13 00:51:37 +00:00
|
|
|
<ClCompile Include="shake.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="shark.cpp" />
|
|
|
|
<ClCompile Include="sharkbox.cpp" />
|
2018-06-30 06:43:12 +00:00
|
|
|
<ClCompile Include="simeck.cpp" />
|
2018-02-19 04:23:50 +00:00
|
|
|
<ClCompile Include="simon.cpp" />
|
2018-11-10 13:00:14 +00:00
|
|
|
<ClCompile Include="simon128_simd.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="simple.cpp" />
|
|
|
|
<ClCompile Include="skipjack.cpp" />
|
2017-11-24 04:19:09 +00:00
|
|
|
<ClCompile Include="sm3.cpp" />
|
2017-11-23 16:41:40 +00:00
|
|
|
<ClCompile Include="sm4.cpp" />
|
2018-11-10 13:00:14 +00:00
|
|
|
<ClCompile Include="sm4_simd.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile Include="sosemanuk.cpp" />
|
2018-02-19 04:23:50 +00:00
|
|
|
<ClCompile Include="speck.cpp" />
|
2018-11-10 13:00:14 +00:00
|
|
|
<ClCompile Include="speck128_simd.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="square.cpp" />
|
|
|
|
<ClCompile Include="squaretb.cpp" />
|
2018-11-10 13:00:14 +00:00
|
|
|
<ClCompile Include="sse_simd.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="strciphr.cpp" />
|
|
|
|
<ClCompile Include="tea.cpp" />
|
|
|
|
<ClCompile Include="tftables.cpp" />
|
2017-05-14 19:27:50 +00:00
|
|
|
<ClCompile Include="threefish.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="tiger.cpp" />
|
|
|
|
<ClCompile Include="tigertab.cpp" />
|
|
|
|
<ClCompile Include="ttmac.cpp" />
|
Add interface to TweetNaCl library (#566)
TweetNaCl is a compact reimplementation of the NaCl library by Daniel J. Bernstein, Bernard van Gastel, Wesley Janssen, Tanja Lange, Peter Schwabe and Sjaak Smetsers. The library is less than 20 KB in size and provides 25 of the NaCl library functions.
The compact library uses curve25519, XSalsa20, Poly1305 and SHA-512 as default primitives, and includes both x25519 key exchange and ed25519 signatures. The complete list of functions can be found in TweetNaCl: A crypto library in 100 tweets (20140917), Table 1, page 5.
Crypto++ retained the function names and signatures but switched to data types provided by <stdint.h> to promote interoperability with Crypto++ and avoid size problems on platforms like Cygwin. For example, NaCl typdef'd u64 as an unsigned long long, but Cygwin, MinGW and MSYS are LP64 systems (not LLP64 systems). In addition, Crypto++ was missing NaCl's signed 64-bit integer i64.
Crypto++ enforces the 0-key restriction due to small points. The TweetNaCl library allowed the 0-keys to small points. Also see RFC 7748, Elliptic Curves for Security, Section 6.
TweetNaCl is well written but not well optimized. It runs 2x to 3x slower than optimized routines from libsodium. However, the library is still 2x to 4x faster than the algorithms NaCl was designed to replace.
The Crypto++ wrapper for TweetNaCl requires OS features. That is, NO_OS_DEPENDENCE cannot be defined. It is due to TweetNaCl's internal function randombytes. Crypto++ used DefaultAutoSeededRNG within randombytes, so OS integration must be enabled. You can use another generator like RDRAND to avoid the restriction.
2018-01-18 03:02:09 +00:00
|
|
|
<ClCompile Include="tweetnacl.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="twofish.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClCompile Include="vmac.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="wake.cpp" />
|
|
|
|
<ClCompile Include="whrlpool.cpp" />
|
2018-12-11 21:17:56 +00:00
|
|
|
<ClCompile Include="xed25519.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="xtr.cpp" />
|
|
|
|
<ClCompile Include="xtrcrypt.cpp" />
|
2019-10-12 11:14:38 +00:00
|
|
|
<ClCompile Include="xts.cpp" />
|
2016-09-19 16:30:48 +00:00
|
|
|
<ClCompile Include="zdeflate.cpp" />
|
|
|
|
<ClCompile Include="zinflate.cpp" />
|
|
|
|
<ClCompile Include="zlib.cpp" />
|
2016-09-10 08:32:04 +00:00
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<CustomBuild Include="adhoc.cpp.proto">
|
2016-10-09 06:13:10 +00:00
|
|
|
<Command>
|
|
|
|
if not exist adhoc.cpp copy "%(FullPath)" adhoc.cpp
|
|
|
|
echo: >> adhoc.cpp.copied
|
|
|
|
</Command>
|
2016-10-05 15:00:39 +00:00
|
|
|
<Outputs>adhoc.cpp.copied;%(Outputs)</Outputs>
|
2016-09-10 08:32:04 +00:00
|
|
|
</CustomBuild>
|
|
|
|
<None Include="Doxyfile" />
|
|
|
|
<None Include="GNUmakefile" />
|
|
|
|
<None Include="License.txt" />
|
|
|
|
<None Include="Readme.txt" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
2016-10-06 20:00:28 +00:00
|
|
|
<CustomBuild Condition="'$(Platform)'=='Win32'" Include="rdrand.asm">
|
2016-09-10 08:32:04 +00:00
|
|
|
<Message>Building and assembling rdrand.asm</Message>
|
2016-10-06 20:00:28 +00:00
|
|
|
<Command>ml.exe /c /nologo /D_M_X86 /W3 /Cx /Zi /safeseh /Fo"$(IntDir)rdrand-x86.obj" "%(FullPath)"</Command>
|
2016-10-16 01:09:26 +00:00
|
|
|
<Outputs>$(IntDir)\rdrand-x86.obj;%(Outputs)</Outputs>
|
2016-10-06 20:00:28 +00:00
|
|
|
</CustomBuild>
|
|
|
|
<CustomBuild Condition="'$(Platform)'=='x64'" Include="rdrand.asm">
|
|
|
|
<Message>Building and assembling rdrand.asm</Message>
|
|
|
|
<Command>ml64.exe /c /nologo /D_M_X64 /W3 /Cx /Zi /Fo"$(IntDir)rdrand-x64.obj" "%(FullPath)"</Command>
|
2016-10-16 01:09:26 +00:00
|
|
|
<Outputs>$(IntDir)\rdrand-x64.obj;%(Outputs)</Outputs>
|
2016-09-10 08:32:04 +00:00
|
|
|
</CustomBuild>
|
2019-08-07 01:01:22 +00:00
|
|
|
<CustomBuild Condition="'$(Platform)'=='Win32'" Include="rdseed.asm">
|
|
|
|
<Message>Building and assembling rdseed.asm</Message>
|
|
|
|
<Command>ml.exe /c /nologo /D_M_X86 /W3 /Cx /Zi /safeseh /Fo"$(IntDir)rdseed-x86.obj" "%(FullPath)"</Command>
|
|
|
|
<Outputs>$(IntDir)\rdseed-x86.obj;%(Outputs)</Outputs>
|
|
|
|
</CustomBuild>
|
|
|
|
<CustomBuild Condition="'$(Platform)'=='x64'" Include="rdseed.asm">
|
|
|
|
<Message>Building and assembling rdseed.asm</Message>
|
|
|
|
<Command>ml64.exe /c /nologo /D_M_X64 /W3 /Cx /Zi /Fo"$(IntDir)rdseed-x64.obj" "%(FullPath)"</Command>
|
|
|
|
<Outputs>$(IntDir)\rdseed-x64.obj;%(Outputs)</Outputs>
|
|
|
|
</CustomBuild>
|
2016-10-06 20:59:50 +00:00
|
|
|
<CustomBuild Condition="'$(Platform)'=='x64' AND ('$(Configuration)'=='Debug' Or '$(Configuration)'=='Release')" Include="x64dll.asm">
|
|
|
|
<Message>Building and assembling x64dll.asm</Message>
|
|
|
|
<Command>ml64.exe /c /nologo /D_M_X64 /W3 /Zi /Fo"$(IntDir)x64dll.obj" "%(FullPath)"</Command>
|
2016-10-16 01:09:26 +00:00
|
|
|
<Outputs>$(IntDir)x64dll.obj;%(Outputs)</Outputs>
|
2016-09-10 08:32:04 +00:00
|
|
|
</CustomBuild>
|
2016-10-06 20:59:50 +00:00
|
|
|
<CustomBuild Condition="'$(Platform)'=='x64'" Include="x64masm.asm">
|
2016-10-05 15:00:39 +00:00
|
|
|
<Message>Building and Assembling x64masm.asm</Message>
|
2016-10-06 20:59:50 +00:00
|
|
|
<Command>ml64.exe /c /nologo /D_M_X64 /W3 /Zi /Fo"$(IntDir)x64masm.obj" "%(FullPath)"</Command>
|
2016-10-05 15:00:39 +00:00
|
|
|
<Outputs>$(IntDir)x64masm.obj;%(Outputs)</Outputs>
|
2016-09-10 08:32:04 +00:00
|
|
|
</CustomBuild>
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ClInclude Include="3way.h" />
|
|
|
|
<ClInclude Include="adler32.h" />
|
2018-11-10 13:00:14 +00:00
|
|
|
<ClInclude Include="adv_simd.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="aes.h" />
|
|
|
|
<ClInclude Include="algebra.h" />
|
|
|
|
<ClInclude Include="algparam.h" />
|
2019-09-28 22:22:11 +00:00
|
|
|
<ClInclude Include="allocate.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="arc4.h" />
|
2017-04-10 14:52:40 +00:00
|
|
|
<ClInclude Include="aria.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="argnames.h" />
|
|
|
|
<ClInclude Include="asn.h" />
|
|
|
|
<ClInclude Include="authenc.h" />
|
|
|
|
<ClInclude Include="base32.h" />
|
|
|
|
<ClInclude Include="base64.h" />
|
|
|
|
<ClInclude Include="basecode.h" />
|
|
|
|
<ClInclude Include="blake2.h" />
|
|
|
|
<ClInclude Include="blowfish.h" />
|
|
|
|
<ClInclude Include="blumshub.h" />
|
|
|
|
<ClInclude Include="camellia.h" />
|
|
|
|
<ClInclude Include="cast.h" />
|
|
|
|
<ClInclude Include="cbcmac.h" />
|
|
|
|
<ClInclude Include="ccm.h" />
|
|
|
|
<ClInclude Include="chacha.h" />
|
2019-01-28 13:52:56 +00:00
|
|
|
<ClInclude Include="chachapoly.h" />
|
2018-06-18 03:24:47 +00:00
|
|
|
<ClInclude Include="cham.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="channels.h" />
|
|
|
|
<ClInclude Include="cmac.h" />
|
|
|
|
<ClInclude Include="config.h" />
|
2019-05-17 19:18:17 +00:00
|
|
|
<ClInclude Include="config_align.h" />
|
|
|
|
<ClInclude Include="config_asm.h" />
|
|
|
|
<ClInclude Include="config_cpu.h" />
|
|
|
|
<ClInclude Include="config_cxx.h" />
|
|
|
|
<ClInclude Include="config_dll.h" />
|
|
|
|
<ClInclude Include="config_int.h" />
|
|
|
|
<ClInclude Include="config_misc.h" />
|
|
|
|
<ClInclude Include="config_ns.h" />
|
|
|
|
<ClInclude Include="config_os.h" />
|
|
|
|
<ClInclude Include="config_ver.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="cpu.h" />
|
|
|
|
<ClInclude Include="crc.h" />
|
|
|
|
<ClInclude Include="cryptlib.h" />
|
2018-11-29 02:51:39 +00:00
|
|
|
<ClInclude Include="darn.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="default.h" />
|
|
|
|
<ClInclude Include="des.h" />
|
|
|
|
<ClInclude Include="dh.h" />
|
|
|
|
<ClInclude Include="dh2.h" />
|
|
|
|
<ClInclude Include="dmac.h" />
|
2016-12-31 02:46:03 +00:00
|
|
|
<ClInclude Include="drbg.h" />
|
2018-12-11 21:17:56 +00:00
|
|
|
<ClInclude Include="donna.h" />
|
2018-12-24 22:17:32 +00:00
|
|
|
<ClInclude Include="donna_32.h" />
|
|
|
|
<ClInclude Include="donna_64.h" />
|
|
|
|
<ClInclude Include="donna_sse.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="dsa.h" />
|
|
|
|
<ClInclude Include="eax.h" />
|
|
|
|
<ClInclude Include="ec2n.h" />
|
|
|
|
<ClInclude Include="eccrypto.h" />
|
|
|
|
<ClInclude Include="ecp.h" />
|
2016-11-04 15:13:07 +00:00
|
|
|
<ClInclude Include="ecpoint.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="elgamal.h" />
|
|
|
|
<ClInclude Include="emsa2.h" />
|
|
|
|
<ClInclude Include="eprecomp.h" />
|
|
|
|
<ClInclude Include="esign.h" />
|
|
|
|
<ClInclude Include="files.h" />
|
|
|
|
<ClInclude Include="filters.h" />
|
|
|
|
<ClInclude Include="fips140.h" />
|
|
|
|
<ClInclude Include="fhmqv.h" />
|
|
|
|
<ClInclude Include="fltrimpl.h" />
|
|
|
|
<ClInclude Include="gcm.h" />
|
|
|
|
<ClInclude Include="gf256.h" />
|
|
|
|
<ClInclude Include="gf2_32.h" />
|
|
|
|
<ClInclude Include="gf2n.h" />
|
|
|
|
<ClInclude Include="gfpcrypt.h" />
|
|
|
|
<ClInclude Include="gost.h" />
|
|
|
|
<ClInclude Include="gzip.h" />
|
2018-07-05 04:29:07 +00:00
|
|
|
<ClInclude Include="hc128.h" />
|
2018-07-05 10:43:04 +00:00
|
|
|
<ClInclude Include="hc256.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="hex.h" />
|
2018-06-24 04:54:16 +00:00
|
|
|
<ClInclude Include="hight.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="hkdf.h" />
|
|
|
|
<ClInclude Include="hmac.h" />
|
|
|
|
<ClInclude Include="hmqv.h" />
|
|
|
|
<ClInclude Include="hrtimer.h" />
|
|
|
|
<ClInclude Include="ida.h" />
|
|
|
|
<ClInclude Include="idea.h" />
|
|
|
|
<ClInclude Include="integer.h" />
|
|
|
|
<ClInclude Include="iterhash.h" />
|
2017-05-06 04:24:35 +00:00
|
|
|
<ClInclude Include="kalyna.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="keccak.h" />
|
|
|
|
<ClInclude Include="lubyrack.h" />
|
2018-06-18 02:36:41 +00:00
|
|
|
<ClInclude Include="lea.h" />
|
2021-04-16 10:12:28 +00:00
|
|
|
<ClInclude Include="lsh.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="luc.h" />
|
|
|
|
<ClInclude Include="mars.h" />
|
|
|
|
<ClInclude Include="md2.h" />
|
|
|
|
<ClInclude Include="md4.h" />
|
|
|
|
<ClInclude Include="md5.h" />
|
|
|
|
<ClInclude Include="mdc.h" />
|
|
|
|
<ClInclude Include="misc.h" />
|
|
|
|
<ClInclude Include="modarith.h" />
|
|
|
|
<ClInclude Include="modes.h" />
|
|
|
|
<ClInclude Include="modexppc.h" />
|
|
|
|
<ClInclude Include="mqueue.h" />
|
|
|
|
<ClInclude Include="mqv.h" />
|
2018-01-21 22:04:15 +00:00
|
|
|
<ClInclude Include="naclite.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="nbtheory.h" />
|
|
|
|
<ClInclude Include="nr.h" />
|
|
|
|
<ClInclude Include="oaep.h" />
|
|
|
|
<ClInclude Include="oids.h" />
|
|
|
|
<ClInclude Include="osrng.h" />
|
2017-08-19 19:41:45 +00:00
|
|
|
<ClInclude Include="padlkrng.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="panama.h" />
|
|
|
|
<ClInclude Include="pch.h" />
|
|
|
|
<ClInclude Include="pkcspad.h" />
|
2016-11-27 21:56:57 +00:00
|
|
|
<ClInclude Include="poly1305.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="polynomi.h" />
|
|
|
|
<ClInclude Include="pssr.h" />
|
|
|
|
<ClInclude Include="pubkey.h" />
|
|
|
|
<ClInclude Include="pwdbased.h" />
|
|
|
|
<ClInclude Include="queue.h" />
|
|
|
|
<ClInclude Include="rabin.h" />
|
|
|
|
<ClInclude Include="randpool.h" />
|
2018-07-04 07:47:28 +00:00
|
|
|
<ClInclude Include="rabbit.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="rc2.h" />
|
|
|
|
<ClInclude Include="rc5.h" />
|
|
|
|
<ClInclude Include="rc6.h" />
|
|
|
|
<ClInclude Include="rdrand.h" />
|
|
|
|
<ClInclude Include="rijndael.h" />
|
|
|
|
<ClInclude Include="ripemd.h" />
|
|
|
|
<ClInclude Include="rng.h" />
|
|
|
|
<ClInclude Include="rsa.h" />
|
|
|
|
<ClInclude Include="rw.h" />
|
|
|
|
<ClInclude Include="safer.h" />
|
|
|
|
<ClInclude Include="salsa.h" />
|
2018-04-01 00:09:38 +00:00
|
|
|
<ClInclude Include="scrypt.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="seal.h" />
|
|
|
|
<ClInclude Include="secblock.h" />
|
2019-10-03 08:12:16 +00:00
|
|
|
<ClInclude Include="secblockfwd.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="seckey.h" />
|
|
|
|
<ClInclude Include="seed.h" />
|
|
|
|
<ClInclude Include="serpent.h" />
|
|
|
|
<ClInclude Include="sha.h" />
|
|
|
|
<ClInclude Include="sha3.h" />
|
|
|
|
<ClInclude Include="shacal2.h" />
|
2019-02-13 00:51:37 +00:00
|
|
|
<ClInclude Include="shake.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="shark.h" />
|
|
|
|
<ClInclude Include="simple.h" />
|
2018-06-30 06:43:12 +00:00
|
|
|
<ClInclude Include="simeck.h" />
|
2018-02-19 04:23:50 +00:00
|
|
|
<ClInclude Include="simon.h" />
|
2016-12-17 08:58:36 +00:00
|
|
|
<ClInclude Include="siphash.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="skipjack.h" />
|
2017-11-24 04:19:09 +00:00
|
|
|
<ClInclude Include="sm3.h" />
|
2017-11-23 16:41:40 +00:00
|
|
|
<ClInclude Include="sm4.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="smartptr.h" />
|
|
|
|
<ClInclude Include="sosemanuk.h" />
|
2018-02-19 04:23:50 +00:00
|
|
|
<ClInclude Include="speck.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="square.h" />
|
|
|
|
<ClInclude Include="stdcpp.h" />
|
|
|
|
<ClInclude Include="strciphr.h" />
|
|
|
|
<ClInclude Include="tea.h" />
|
2017-05-14 19:27:50 +00:00
|
|
|
<ClInclude Include="threefish.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="tiger.h" />
|
2016-09-16 15:27:15 +00:00
|
|
|
<ClInclude Include="trap.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="trunhash.h" />
|
|
|
|
<ClInclude Include="ttmac.h" />
|
Add interface to TweetNaCl library (#566)
TweetNaCl is a compact reimplementation of the NaCl library by Daniel J. Bernstein, Bernard van Gastel, Wesley Janssen, Tanja Lange, Peter Schwabe and Sjaak Smetsers. The library is less than 20 KB in size and provides 25 of the NaCl library functions.
The compact library uses curve25519, XSalsa20, Poly1305 and SHA-512 as default primitives, and includes both x25519 key exchange and ed25519 signatures. The complete list of functions can be found in TweetNaCl: A crypto library in 100 tweets (20140917), Table 1, page 5.
Crypto++ retained the function names and signatures but switched to data types provided by <stdint.h> to promote interoperability with Crypto++ and avoid size problems on platforms like Cygwin. For example, NaCl typdef'd u64 as an unsigned long long, but Cygwin, MinGW and MSYS are LP64 systems (not LLP64 systems). In addition, Crypto++ was missing NaCl's signed 64-bit integer i64.
Crypto++ enforces the 0-key restriction due to small points. The TweetNaCl library allowed the 0-keys to small points. Also see RFC 7748, Elliptic Curves for Security, Section 6.
TweetNaCl is well written but not well optimized. It runs 2x to 3x slower than optimized routines from libsodium. However, the library is still 2x to 4x faster than the algorithms NaCl was designed to replace.
The Crypto++ wrapper for TweetNaCl requires OS features. That is, NO_OS_DEPENDENCE cannot be defined. It is due to TweetNaCl's internal function randombytes. Crypto++ used DefaultAutoSeededRNG within randombytes, so OS integration must be enabled. You can use another generator like RDRAND to avoid the restriction.
2018-01-18 03:02:09 +00:00
|
|
|
<ClInclude Include="tweetnacl.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="twofish.h" />
|
|
|
|
<ClInclude Include="vmac.h" />
|
|
|
|
<ClInclude Include="wake.h" />
|
|
|
|
<ClInclude Include="whrlpool.h" />
|
|
|
|
<ClInclude Include="words.h" />
|
2018-12-11 21:17:56 +00:00
|
|
|
<ClInclude Include="xed25519.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="xtr.h" />
|
|
|
|
<ClInclude Include="xtrcrypt.h" />
|
2019-10-12 11:14:38 +00:00
|
|
|
<ClInclude Include="xts.h" />
|
2016-09-10 08:32:04 +00:00
|
|
|
<ClInclude Include="zdeflate.h" />
|
|
|
|
<ClInclude Include="zinflate.h" />
|
|
|
|
<ClInclude Include="zlib.h" />
|
|
|
|
</ItemGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
|
|
|
|
</ImportGroup>
|
2018-04-01 00:09:38 +00:00
|
|
|
</Project>
|