Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add KeccakReferenceAndOptimized-3.2.zip.

  • Loading branch information...
commit 235b67013d8a9dbba102ed4e402ca8472aae8d53 0 parents
@bjornedstrom authored
Showing with 28,230 additions and 0 deletions.
  1. +207 −0 KeccakReferenceAndOptimized/KeccakCompact.vcproj
  2. +207 −0 KeccakReferenceAndOptimized/KeccakCompact8.vcproj
  3. +203 −0 KeccakReferenceAndOptimized/KeccakInplace.vcproj
  4. +201 −0 KeccakReferenceAndOptimized/KeccakInplace32BI.vcproj
  5. +267 −0 KeccakReferenceAndOptimized/KeccakOptimized32.vcproj
  6. +267 −0 KeccakReferenceAndOptimized/KeccakOptimized64.vcproj
  7. +243 −0 KeccakReferenceAndOptimized/KeccakReference.vcproj
  8. +243 −0 KeccakReferenceAndOptimized/KeccakReference32BI.vcproj
  9. +62 −0 KeccakReferenceAndOptimized/KeccakReferenceAndOptimized.sln
  10. +203 −0 KeccakReferenceAndOptimized/KeccakSimple.vcproj
  11. +201 −0 KeccakReferenceAndOptimized/KeccakSimple32BI.vcproj
  12. +27 −0 KeccakReferenceAndOptimized/Sources/AVR8-rotate64.h
  13. +285 −0 KeccakReferenceAndOptimized/Sources/AVR8-rotate64.s
  14. +2 −0  KeccakReferenceAndOptimized/Sources/Keccak-avr8-settings.h
  15. +142 −0 KeccakReferenceAndOptimized/Sources/Keccak-avr8-test.c
  16. +15 −0 KeccakReferenceAndOptimized/Sources/Keccak-avr8-util.h
  17. +119 −0 KeccakReferenceAndOptimized/Sources/Keccak-avr8-util.s
  18. +184 −0 KeccakReferenceAndOptimized/Sources/Keccak-avr8.c
  19. +25 −0 KeccakReferenceAndOptimized/Sources/Keccak-avr8.h
  20. +3 −0  KeccakReferenceAndOptimized/Sources/Keccak-compact-settings.h
  21. +317 −0 KeccakReferenceAndOptimized/Sources/Keccak-compact-test.c
  22. +341 −0 KeccakReferenceAndOptimized/Sources/Keccak-compact.c
  23. +50 −0 KeccakReferenceAndOptimized/Sources/Keccak-compact.h
  24. +2 −0  KeccakReferenceAndOptimized/Sources/Keccak-compact8-settings.h
  25. +192 −0 KeccakReferenceAndOptimized/Sources/Keccak-compact8-test.c
  26. +375 −0 KeccakReferenceAndOptimized/Sources/Keccak-compact8.c
  27. +47 −0 KeccakReferenceAndOptimized/Sources/Keccak-compact8.h
  28. +406 −0 KeccakReferenceAndOptimized/Sources/Keccak-crypto_hash-inplace-armgcc-ARMv7A-NEON.s
  29. +231 −0 KeccakReferenceAndOptimized/Sources/Keccak-inplace-minimal-test.c
  30. +3 −0  KeccakReferenceAndOptimized/Sources/Keccak-inplace-settings.h
  31. +221 −0 KeccakReferenceAndOptimized/Sources/Keccak-inplace-test.c
  32. +445 −0 KeccakReferenceAndOptimized/Sources/Keccak-inplace.c
  33. +844 −0 KeccakReferenceAndOptimized/Sources/Keccak-inplace32BI-armgcc-ARMv6M.s
  34. +687 −0 KeccakReferenceAndOptimized/Sources/Keccak-inplace32BI-armgcc-ARMv7A.s
  35. +687 −0 KeccakReferenceAndOptimized/Sources/Keccak-inplace32BI-armgcc-ARMv7M.s
  36. +849 −0 KeccakReferenceAndOptimized/Sources/Keccak-inplace32BI.c
  37. +3 −0  KeccakReferenceAndOptimized/Sources/Keccak-simple-settings.h
  38. +221 −0 KeccakReferenceAndOptimized/Sources/Keccak-simple-test.c
  39. +403 −0 KeccakReferenceAndOptimized/Sources/Keccak-simple.c
  40. +673 −0 KeccakReferenceAndOptimized/Sources/Keccak-simple32BI.c
  41. +68 −0 KeccakReferenceAndOptimized/Sources/KeccakDuplex.c
  42. +59 −0 KeccakReferenceAndOptimized/Sources/KeccakDuplex.h
  43. +555 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-32-rvk.macros
  44. +1,187 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-32-s1.macros
  45. +1,187 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-32-s2.macros
  46. +26 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-32.macros
  47. +728 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-64.macros
  48. +123 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-arm.c
  49. +653 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-armcc.s
  50. +686 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-armgcc.s
  51. +163 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-avr8.c
  52. +647 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-avr8asm-compact.s
  53. +934 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-avr8asm-fast.s
  54. +446 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-inplace-armgcc-ARMv7A-NEON.s
  55. +6 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-int-set.h
  56. +46 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-interface.h
  57. +4 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-opt32-settings.h
  58. +524 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-opt32.c
  59. +7 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-opt64-settings.h
  60. +504 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-opt64.c
  61. +300 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-reference.c
  62. +20 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-reference.h
  63. +371 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-reference32BI.c
  64. +651 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-simd128.macros
  65. +517 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-simd64.macros
  66. +124 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-unrolling.macros
  67. +62 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-x86-64-asm.c
  68. +766 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-x86-64-gas.s
  69. +766 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-x86-64-shld-gas.s
  70. +573 −0 KeccakReferenceAndOptimized/Sources/KeccakF-1600-xop.macros
  71. +81 −0 KeccakReferenceAndOptimized/Sources/KeccakNISTInterface.c
  72. +70 −0 KeccakReferenceAndOptimized/Sources/KeccakNISTInterface.h
  73. +266 −0 KeccakReferenceAndOptimized/Sources/KeccakSponge.c
  74. +76 −0 KeccakReferenceAndOptimized/Sources/KeccakSponge.h
  75. +296 −0 KeccakReferenceAndOptimized/Sources/Keccakc1024-crypto_hash-inplace-armgcc-ARMv7A-NEON.s
  76. +429 −0 KeccakReferenceAndOptimized/Sources/Keccakc512-crypto_hash-inplace-armgcc-ARMv7A-NEON.s
  77. +142 −0 KeccakReferenceAndOptimized/Sources/brg_endian.h
  78. 0  KeccakReferenceAndOptimized/Sources/crypto_hash.h
  79. +117 −0 KeccakReferenceAndOptimized/Sources/displayIntermediateValues.c
  80. +29 −0 KeccakReferenceAndOptimized/Sources/displayIntermediateValues.h
  81. +692 −0 KeccakReferenceAndOptimized/Sources/genKAT.c
  82. +88 −0 KeccakReferenceAndOptimized/Sources/mainARM.c
  83. +23 −0 KeccakReferenceAndOptimized/Sources/mainOptimized.c
  84. +381 −0 KeccakReferenceAndOptimized/Sources/mainReference.c
  85. +436 −0 KeccakReferenceAndOptimized/Sources/timing.c
  86. +13 −0 KeccakReferenceAndOptimized/Sources/timing.h
  87. +2 −0  KeccakReferenceAndOptimized/TreeHashing/Sources/DoublePermutation-config.h
  88. +572 −0 KeccakReferenceAndOptimized/TreeHashing/Sources/DoublePermutation.c
  89. +38 −0 KeccakReferenceAndOptimized/TreeHashing/Sources/DoublePermutation.h
  90. +124 −0 KeccakReferenceAndOptimized/TreeHashing/Sources/KeccakF-1600-unrolling.macros
  91. +81 −0 KeccakReferenceAndOptimized/TreeHashing/Sources/Keccakc256TreeD2.c
  92. +18 −0 KeccakReferenceAndOptimized/TreeHashing/Sources/Keccakc256TreeD2.h
  93. +81 −0 KeccakReferenceAndOptimized/TreeHashing/Sources/Keccakc512TreeD2.c
  94. +18 −0 KeccakReferenceAndOptimized/TreeHashing/Sources/Keccakc512TreeD2.h
  95. 0  KeccakReferenceAndOptimized/TreeHashing/Sources/crypto_hash.h
  96. +112 −0 KeccakReferenceAndOptimized/TreeHashing/Sources/mainOptimized.c
  97. +225 −0 KeccakReferenceAndOptimized/TreeHashing/Sources/timing-Double.c
  98. +20 −0 KeccakReferenceAndOptimized/TreeHashing/Sources/timing-Double.h
  99. +68 −0 KeccakReferenceAndOptimized/TreeHashing/makefile
  100. +1 −0  KeccakReferenceAndOptimized/compile64.bat
  101. +1 −0  KeccakReferenceAndOptimized/eBASH/checksum-keccak
  102. +1 −0  KeccakReferenceAndOptimized/eBASH/checksum-keccakc1024
  103. +1 −0  KeccakReferenceAndOptimized/eBASH/checksum-keccakc256
  104. +1 −0  KeccakReferenceAndOptimized/eBASH/checksum-keccakc256treed2
  105. +1 −0  KeccakReferenceAndOptimized/eBASH/checksum-keccakc448
  106. +1 −0  KeccakReferenceAndOptimized/eBASH/checksum-keccakc512
  107. +1 −0  KeccakReferenceAndOptimized/eBASH/checksum-keccakc512treed2
  108. +1 −0  KeccakReferenceAndOptimized/eBASH/checksum-keccakc768
  109. +11 −0 KeccakReferenceAndOptimized/eBASH/hash-keccak.c
  110. +11 −0 KeccakReferenceAndOptimized/eBASH/hash-keccakc1024.c
  111. +11 −0 KeccakReferenceAndOptimized/eBASH/hash-keccakc256.c
  112. +11 −0 KeccakReferenceAndOptimized/eBASH/hash-keccakc448.c
  113. +11 −0 KeccakReferenceAndOptimized/eBASH/hash-keccakc512.c
  114. +11 −0 KeccakReferenceAndOptimized/eBASH/hash-keccakc768.c
  115. +1 −0  KeccakReferenceAndOptimized/eBASH/int-set-keccak.h
  116. +1 −0  KeccakReferenceAndOptimized/eBASH/int-set-keccakc1024.h
  117. +1 −0  KeccakReferenceAndOptimized/eBASH/int-set-keccakc256.h
  118. +1 −0  KeccakReferenceAndOptimized/eBASH/int-set-keccakc448.h
  119. +1 −0  KeccakReferenceAndOptimized/eBASH/int-set-keccakc512.h
  120. +1 −0  KeccakReferenceAndOptimized/eBASH/int-set-keccakc768.h
  121. +506 −0 KeccakReferenceAndOptimized/eBASH/populate.py
  122. +2 −0  KeccakReferenceAndOptimized/eBASH/simple-keccak.h
  123. +2 −0  KeccakReferenceAndOptimized/eBASH/simple-keccakc1024.h
  124. +2 −0  KeccakReferenceAndOptimized/eBASH/simple-keccakc256.h
  125. +2 −0  KeccakReferenceAndOptimized/eBASH/simple-keccakc448.h
  126. +2 −0  KeccakReferenceAndOptimized/eBASH/simple-keccakc512.h
  127. +2 −0  KeccakReferenceAndOptimized/eBASH/simple-keccakc768.h
  128. +327 −0 KeccakReferenceAndOptimized/makefile
207 KeccakReferenceAndOptimized/KeccakCompact.vcproj
@@ -0,0 +1,207 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9,00"
+ Name="KeccakCompact"
+ ProjectGUID="{F9B0FC82-5264-4A33-B032-4C2EECC039B7}"
+ RootNamespace="KeccakCompact"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath="Sources\Keccak-compact-test.c"
+ >
+ </File>
+ <File
+ RelativePath="Sources\Keccak-compact.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath="Sources\Keccak-compact-settings.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\Keccak-compact.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
207 KeccakReferenceAndOptimized/KeccakCompact8.vcproj
@@ -0,0 +1,207 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9,00"
+ Name="KeccakCompact8"
+ ProjectGUID="{6C6F7075-934A-45F1-96CB-322BF32D0421}"
+ RootNamespace="KeccakCompact8"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\Sources\Keccak-compact8-test.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\Keccak-compact8.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\Sources\Keccak-compact8-settings.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\Keccak-compact8.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
203 KeccakReferenceAndOptimized/KeccakInplace.vcproj
@@ -0,0 +1,203 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9,00"
+ Name="KeccakInplace"
+ ProjectGUID="{FD12E034-5FE9-4ACE-ACDE-CB46CAEBAF3C}"
+ RootNamespace="KeccakInplace"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\Sources\Keccak-inplace-test.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\Keccak-inplace.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\Sources\Keccak-inplace-settings.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
201 KeccakReferenceAndOptimized/KeccakInplace32BI.vcproj
@@ -0,0 +1,201 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9,00"
+ Name="KeccakInplace32BI"
+ ProjectGUID="{C0704E89-9D64-4BD9-B1D0-122983950296}"
+ RootNamespace="KeccakInplace32BI"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath="Sources\Keccak-inplace-test.c"
+ >
+ </File>
+ <File
+ RelativePath="Sources\Keccak-inplace32BI.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath="Sources\Keccak-inplace-settings.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
267 KeccakReferenceAndOptimized/KeccakOptimized32.vcproj
@@ -0,0 +1,267 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9,00"
+ Name="KeccakOptimized32"
+ ProjectGUID="{FFB5B62A-8613-49E4-9E56-F57EB011E41F}"
+ RootNamespace="KeccakOptimized32"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\Sources\genKAT.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakDuplex.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-opt32.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakNISTInterface.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakSponge.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\mainOptimized.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\timing.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\Sources\brg_endian.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakDuplex.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-interface.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-opt32-settings.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakNISTInterface.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakSponge.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\timing.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-32-rvk.macros"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-32-s1.macros"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-32-s2.macros"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-32.macros"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-unrolling.macros"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
267 KeccakReferenceAndOptimized/KeccakOptimized64.vcproj
@@ -0,0 +1,267 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9,00"
+ Name="KeccakOptimized64"
+ ProjectGUID="{030CE829-4DB9-479C-9539-F691D445BDDF}"
+ RootNamespace="KeccakOptimized"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="3"
+ InlineFunctionExpansion="0"
+ EnableIntrinsicFunctions="true"
+ FavorSizeOrSpeed="1"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="false"
+ EnableFunctionLevelLinking="true"
+ EnableEnhancedInstructionSet="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ CompileAs="0"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath="Sources\genKAT.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakDuplex.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-opt64.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakNISTInterface.c"
+ >
+ </File>
+ <File
+ RelativePath="Sources\KeccakSponge.c"
+ >
+ </File>
+ <File
+ RelativePath="Sources\mainOptimized.c"
+ >
+ </File>
+ <File
+ RelativePath="Sources\timing.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\Sources\brg_endian.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakDuplex.h"
+ >
+ </File>
+ <File
+ RelativePath="Sources\KeccakF-1600-interface.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-opt64-settings.h"
+ >
+ </File>
+ <File
+ RelativePath="Sources\KeccakNISTInterface.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakSponge.h"
+ >
+ </File>
+ <File
+ RelativePath="Sources\timing.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-64.macros"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-simd128.macros"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-simd64.macros"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-unrolling.macros"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
243 KeccakReferenceAndOptimized/KeccakReference.vcproj
@@ -0,0 +1,243 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9,00"
+ Name="KeccakReference"
+ ProjectGUID="{2F33310D-6C21-4AD6-AACF-0B9E7BBF513B}"
+ RootNamespace="KeccakReference"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;KeccakReference"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;KeccakReference"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\Sources\displayIntermediateValues.c"
+ >
+ </File>
+ <File
+ RelativePath="Sources\genKAT.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakDuplex.c"
+ >
+ </File>
+ <File
+ RelativePath="Sources\KeccakF-1600-reference.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakNISTInterface.c"
+ >
+ </File>
+ <File
+ RelativePath="Sources\KeccakSponge.c"
+ >
+ </File>
+ <File
+ RelativePath="Sources\mainReference.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\Sources\displayIntermediateValues.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakDuplex.h"
+ >
+ </File>
+ <File
+ RelativePath="Sources\KeccakF-1600-interface.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-reference.h"
+ >
+ </File>
+ <File
+ RelativePath="Sources\KeccakNISTInterface.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakSponge.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
243 KeccakReferenceAndOptimized/KeccakReference32BI.vcproj
@@ -0,0 +1,243 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9,00"
+ Name="KeccakReference32BI"
+ ProjectGUID="{3B0DA7AA-E06C-4CC7-B73F-0C23DA158046}"
+ RootNamespace="KeccakReference32BI"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;KeccakReference;KeccakReference32BI"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;KeccakReference;KeccakReference32BI"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\Sources\displayIntermediateValues.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\genKAT.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakDuplex.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-reference32BI.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakNISTInterface.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakSponge.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\mainReference.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\Sources\displayIntermediateValues.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakDuplex.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-interface.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakF-1600-reference.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakNISTInterface.h"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\KeccakSponge.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
62 KeccakReferenceAndOptimized/KeccakReferenceAndOptimized.sln
@@ -0,0 +1,62 @@
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual C++ Express 2008
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KeccakOptimized32", "KeccakOptimized32.vcproj", "{FFB5B62A-8613-49E4-9E56-F57EB011E41F}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KeccakOptimized64", "KeccakOptimized64.vcproj", "{030CE829-4DB9-479C-9539-F691D445BDDF}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KeccakReference", "KeccakReference.vcproj", "{2F33310D-6C21-4AD6-AACF-0B9E7BBF513B}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KeccakSimple", "KeccakSimple.vcproj", "{FD12E034-5FE9-4ACE-ACDE-CB46CAEBAF3C}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KeccakCompact", "KeccakCompact.vcproj", "{F9B0FC82-5264-4A33-B032-4C2EECC039B7}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KeccakSimple32BI", "KeccakSimple32BI.vcproj", "{C0704E89-9D64-4BD9-B1D0-122983950296}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KeccakCompact8", "KeccakCompact8.vcproj", "{6C6F7075-934A-45F1-96CB-322BF32D0421}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KeccakReference32BI", "KeccakReference32BI.vcproj", "{3B0DA7AA-E06C-4CC7-B73F-0C23DA158046}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {FFB5B62A-8613-49E4-9E56-F57EB011E41F}.Debug|Win32.ActiveCfg = Debug|Win32
+ {FFB5B62A-8613-49E4-9E56-F57EB011E41F}.Debug|Win32.Build.0 = Debug|Win32
+ {FFB5B62A-8613-49E4-9E56-F57EB011E41F}.Release|Win32.ActiveCfg = Release|Win32
+ {FFB5B62A-8613-49E4-9E56-F57EB011E41F}.Release|Win32.Build.0 = Release|Win32
+ {030CE829-4DB9-479C-9539-F691D445BDDF}.Debug|Win32.ActiveCfg = Debug|Win32
+ {030CE829-4DB9-479C-9539-F691D445BDDF}.Debug|Win32.Build.0 = Debug|Win32
+ {030CE829-4DB9-479C-9539-F691D445BDDF}.Release|Win32.ActiveCfg = Release|Win32
+ {030CE829-4DB9-479C-9539-F691D445BDDF}.Release|Win32.Build.0 = Release|Win32
+ {2F33310D-6C21-4AD6-AACF-0B9E7BBF513B}.Debug|Win32.ActiveCfg = Debug|Win32
+ {2F33310D-6C21-4AD6-AACF-0B9E7BBF513B}.Debug|Win32.Build.0 = Debug|Win32
+ {2F33310D-6C21-4AD6-AACF-0B9E7BBF513B}.Release|Win32.ActiveCfg = Release|Win32
+ {2F33310D-6C21-4AD6-AACF-0B9E7BBF513B}.Release|Win32.Build.0 = Release|Win32
+ {FD12E034-5FE9-4ACE-ACDE-CB46CAEBAF3C}.Debug|Win32.ActiveCfg = Debug|Win32
+ {FD12E034-5FE9-4ACE-ACDE-CB46CAEBAF3C}.Debug|Win32.Build.0 = Debug|Win32
+ {FD12E034-5FE9-4ACE-ACDE-CB46CAEBAF3C}.Release|Win32.ActiveCfg = Release|Win32
+ {FD12E034-5FE9-4ACE-ACDE-CB46CAEBAF3C}.Release|Win32.Build.0 = Release|Win32
+ {F9B0FC82-5264-4A33-B032-4C2EECC039B7}.Debug|Win32.ActiveCfg = Debug|Win32
+ {F9B0FC82-5264-4A33-B032-4C2EECC039B7}.Debug|Win32.Build.0 = Debug|Win32
+ {F9B0FC82-5264-4A33-B032-4C2EECC039B7}.Release|Win32.ActiveCfg = Release|Win32
+ {F9B0FC82-5264-4A33-B032-4C2EECC039B7}.Release|Win32.Build.0 = Release|Win32
+ {C0704E89-9D64-4BD9-B1D0-122983950296}.Debug|Win32.ActiveCfg = Debug|Win32
+ {C0704E89-9D64-4BD9-B1D0-122983950296}.Debug|Win32.Build.0 = Debug|Win32
+ {C0704E89-9D64-4BD9-B1D0-122983950296}.Release|Win32.ActiveCfg = Release|Win32
+ {C0704E89-9D64-4BD9-B1D0-122983950296}.Release|Win32.Build.0 = Release|Win32
+ {6C6F7075-934A-45F1-96CB-322BF32D0421}.Debug|Win32.ActiveCfg = Debug|Win32
+ {6C6F7075-934A-45F1-96CB-322BF32D0421}.Debug|Win32.Build.0 = Debug|Win32
+ {6C6F7075-934A-45F1-96CB-322BF32D0421}.Release|Win32.ActiveCfg = Release|Win32
+ {6C6F7075-934A-45F1-96CB-322BF32D0421}.Release|Win32.Build.0 = Release|Win32
+ {3B0DA7AA-E06C-4CC7-B73F-0C23DA158046}.Debug|Win32.ActiveCfg = Debug|Win32
+ {3B0DA7AA-E06C-4CC7-B73F-0C23DA158046}.Debug|Win32.Build.0 = Debug|Win32
+ {3B0DA7AA-E06C-4CC7-B73F-0C23DA158046}.Release|Win32.ActiveCfg = Release|Win32
+ {3B0DA7AA-E06C-4CC7-B73F-0C23DA158046}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
203 KeccakReferenceAndOptimized/KeccakSimple.vcproj
@@ -0,0 +1,203 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9,00"
+ Name="KeccakSimple"
+ ProjectGUID="{FD12E034-5FE9-4ACE-ACDE-CB46CAEBAF3C}"
+ RootNamespace="KeccakSimple"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ EmbedManifest="false"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\Sources\Keccak-simple-test.c"
+ >
+ </File>
+ <File
+ RelativePath=".\Sources\Keccak-simple.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\Sources\Keccak-simple-settings.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
201 KeccakReferenceAndOptimized/KeccakSimple32BI.vcproj
@@ -0,0 +1,201 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9,00"
+ Name="KeccakSimple32BI"
+ ProjectGUID="{C0704E89-9D64-4BD9-B1D0-122983950296}"
+ RootNamespace="KeccakSimple32BI"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="1"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath="Sources\Keccak-simple-test.c"
+ >
+ </File>
+ <File
+ RelativePath="Sources\Keccak-simple32BI.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath="Sources\Keccak-simple-settings.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
27 KeccakReferenceAndOptimized/Sources/AVR8-rotate64.h
@@ -0,0 +1,27 @@
+/*
+File: AVR8-rotate64.h
+
+This code is originally by Daniel Otte (daniel.otte@rub.de) in 2006-2010 as part of the AVR-Crypto-Lib, and was then improved by Ronny Van Keer, STMicroelectronics, in 2010.
+
+Implementation by Daniel Otte and Ronny Van Keer,
+hereby denoted as "the implementer".
+
+To the extent possible under law, the implementer has waived all copyright
+and related or neighboring rights to the source code in this file.
+http://creativecommons.org/publicdomain/zero/1.0/
+*/
+
+#ifndef ROTATE64_H_
+#define ROTATE64_H_
+
+#include <stdint.h>
+
+
+#define ROT_CODE(a) ((((a)/8+((((a)%8)>4)?1:0))<<4) | ((a) & 7))
+
+uint64_t rotate64_1bit_left(uint64_t a);
+uint64_t rotate64_1bit_right(uint64_t a);
+uint64_t rotate64left_code(uint64_t a, int8_t code);
+
+#endif /* ROTATE64_H_ */
+
285 KeccakReferenceAndOptimized/Sources/AVR8-rotate64.s
@@ -0,0 +1,285 @@
+/*
+File: AVR8-rotate64.s
+
+This code is originally by Daniel Otte (daniel.otte@rub.de) in 2006-2010 as part of the AVR-Crypto-Lib, and was then improved by Ronny Van Keer, STMicroelectronics, in 2010.
+
+Implementation by Daniel Otte and Ronny Van Keer,
+hereby denoted as "the implementer".
+
+To the extent possible under law, the implementer has waived all copyright
+and related or neighboring rights to the source code in this file.
+http://creativecommons.org/publicdomain/zero/1.0/
+*/
+
+.global rotate64_1bit_left
+rotate64_4bit_left:
+ lsl r18
+ rol r19
+ rol r20
+ rol r21
+ rol r22
+ rol r23
+ rol r24
+ rol r25
+ adc r18, r1
+rotate64_3bit_left:
+ lsl r18
+ rol r19
+ rol r20
+ rol r21
+ rol r22
+ rol r23
+ rol r24
+ rol r25
+ adc r18, r1
+rotate64_2bit_left:
+ lsl r18
+ rol r19
+ rol r20
+ rol r21
+ rol r22
+ rol r23
+ rol r24
+ rol r25
+ adc r18, r1
+rotate64_1bit_left:
+ lsl r18
+ rol r19
+ rol r20
+ rol r21
+ rol r22
+ rol r23
+ rol r24
+ rol r25
+ adc r18, r1
+ ret
+
+.global rotate64_1bit_right
+rotate64_3bit_right:
+ bst r18, 0
+ ror r25
+ ror r24
+ ror r23
+ ror r22
+ ror r21
+ ror r20
+ ror r19
+ ror r18
+ bld r25, 7
+rotate64_2bit_right:
+ bst r18, 0
+ ror r25
+ ror r24
+ ror r23
+ ror r22
+ ror r21
+ ror r20
+ ror r19
+ ror r18
+ bld r25, 7
+rotate64_1bit_right:
+ bst r18, 0
+ ror r25
+ ror r24
+ ror r23
+ ror r22
+ ror r21
+ ror r20
+ ror r19
+ ror r18
+ bld r25, 7
+ ret
+
+/*
+** Each byte rotate routine must be 16 instructions long.
+*/
+rotate64_0byte_left:
+ andi r16, 0x07
+ ldi r30, pm_lo8(bit_rot_jmp_table)
+ ldi r31, pm_hi8(bit_rot_jmp_table)
+ add r30, r16
+
+ adc r31, r1
+ ijmp
+ nop
+ nop
+
+ nop
+ nop
+ nop
+ nop
+
+ nop
+ nop
+ nop
+ nop
+
+rotate64_1byte_left:
+ mov r0, r25
+ mov r25, r24
+ mov r24, r23
+ mov r23, r22
+
+ mov r22, r21
+ mov r21, r20
+ mov r20, r19
+ mov r19, r18
+
+ mov r18, r0
+ andi r16, 0x07
+ ldi r30, pm_lo8(bit_rot_jmp_table)
+ ldi r31, pm_hi8(bit_rot_jmp_table)
+
+ add r30, r16
+ adc r31, r1
+ ijmp
+ nop
+
+rotate64_2byte_left:
+ movw r0, r24
+ movw r24, r22
+ movw r22, r20
+ movw r20, r18
+
+ movw r18, r0
+ clr r1
+ andi r16, 0x07
+ ldi r30, pm_lo8(bit_rot_jmp_table)
+
+ ldi r31, pm_hi8(bit_rot_jmp_table)
+ add r30, r16
+ adc r31, r1
+ ijmp
+
+ nop
+ nop
+ nop
+ nop
+
+rotate64_3byte_left:
+ mov r0, r25
+ mov r25, r22
+ mov r22, r19
+ mov r19, r24
+
+ mov r24, r21
+ mov r21, r18
+ mov r18, r23
+ mov r23, r20
+
+ mov r20, r0
+ andi r16, 0x07
+ ldi r30, pm_lo8(bit_rot_jmp_table)
+ ldi r31, pm_hi8(bit_rot_jmp_table)
+
+ add r30, r16
+ adc r31, r1
+ ijmp
+ nop
+
+rotate64_4byte_left:
+ movw r0, r24
+ movw r24, r20
+ movw r20, r0
+ movw r0, r22
+
+ movw r22, r18
+ movw r18, r0
+ clr r1
+ andi r16, 0x07
+
+ ldi r30, pm_lo8(bit_rot_jmp_table)
+ ldi r31, pm_hi8(bit_rot_jmp_table)
+ add r30, r16
+ adc r31, r1
+
+ ijmp
+ nop
+ nop