digest-kangarootwelve 0.3.2 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1061) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/LICENSE.XKCP +9 -0
  4. data/README.md +85 -33
  5. data/Rakefile +77 -4
  6. data/digest-kangarootwelve.gemspec +25 -316
  7. data/ext/digest/kangarootwelve/XKCP/lib/common/align.h +33 -0
  8. data/ext/digest/kangarootwelve/XKCP/lib/common/brg_endian.h +143 -0
  9. data/ext/digest/kangarootwelve/XKCP/lib/high/KangarooTwelve/KangarooTwelve.c +301 -0
  10. data/ext/digest/kangarootwelve/XKCP/lib/high/KangarooTwelve/KangarooTwelve.h +97 -0
  11. data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.c +111 -0
  12. data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.h +76 -0
  13. data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.inc +314 -0
  14. data/ext/digest/kangarootwelve/XKCP/lib/high/common/Phases.h +25 -0
  15. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARM/KeccakP-1600-SnP.h +41 -0
  16. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARM/KeccakP-1600-inplace-32bi-armv7m-le-gcc.s +1175 -0
  17. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARM/KeccakP-1600-u2-32bi-armv6m-le-gcc.s +1339 -0
  18. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARMv7A-NEON/KeccakP-1600-SnP.h +42 -0
  19. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARMv7A-NEON/KeccakP-1600-armv7a-le-neon-gcc.s +831 -0
  20. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVR8/KeccakP-1600-SnP.h +42 -0
  21. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVR8/KeccakP-1600-avr8-fast.s +1121 -0
  22. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX2/KeccakP-1600-AVX2.s +1100 -0
  23. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX2/KeccakP-1600-SnP.h +52 -0
  24. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/C/KeccakP-1600-AVX512.c +623 -0
  25. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/C/KeccakP-1600-SnP.h +47 -0
  26. data/ext/digest/kangarootwelve/{keccak/skylakex → XKCP/lib/low/KeccakP-1600/AVX512/C/u12}/KeccakP-1600-AVX512-config.h +0 -0
  27. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/KeccakP-1600-AVX512.s +1031 -0
  28. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/KeccakP-1600-SnP.h +53 -0
  29. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/XOP/KeccakP-1600-SnP.h +44 -0
  30. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/XOP/KeccakP-1600-XOP.c +476 -0
  31. data/ext/digest/kangarootwelve/{keccak/bulldozer → XKCP/lib/low/KeccakP-1600/XOP/ua}/KeccakP-1600-XOP-config.h +0 -0
  32. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/common/KeccakP-1600-64.macros +748 -0
  33. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/common/KeccakP-1600-unrolling.macros +305 -0
  34. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-SnP.h +40 -0
  35. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-compact64.c +420 -0
  36. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-32bits-inplace/KeccakP-1600-SnP.h +43 -0
  37. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-32bits-inplace/KeccakP-1600-inplace32BI.c +1163 -0
  38. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-SnP.h +54 -0
  39. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-opt64.c +565 -0
  40. data/ext/digest/kangarootwelve/{keccak/generic64lc → XKCP/lib/low/KeccakP-1600/plain-64bits/lcua}/KeccakP-1600-opt64-config.h +0 -0
  41. data/ext/digest/kangarootwelve/{keccak/sandybridge → XKCP/lib/low/KeccakP-1600/plain-64bits/lcua-shld}/KeccakP-1600-opt64-config.h +0 -0
  42. data/ext/digest/kangarootwelve/{keccak/generic64 → XKCP/lib/low/KeccakP-1600/plain-64bits/ua}/KeccakP-1600-opt64-config.h +0 -0
  43. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-SnP.h +44 -0
  44. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-reference.h +23 -0
  45. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-reference32BI.c +625 -0
  46. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-SnP.h +44 -0
  47. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-reference.c +444 -0
  48. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-reference.h +23 -0
  49. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/ARMv7A-NEON/KeccakP-1600-inplace-pl2-armv7a-neon-le-gcc.s +1394 -0
  50. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/ARMv7A-NEON/KeccakP-1600-times2-SnP.h +42 -0
  51. data/ext/digest/kangarootwelve/{keccak/skylakex → XKCP/lib/low/KeccakP-1600-times2/AVX512/AVX512u12}/SIMD512-2-config.h +0 -0
  52. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SIMD512.c +850 -0
  53. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SnP.h +51 -0
  54. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/KeccakP-1600-times2-SIMD128.c +957 -0
  55. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/KeccakP-1600-times2-SnP.h +49 -0
  56. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/SSSE3-u2/SIMD128-config.h +8 -0
  57. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/SSSE3-ua/SIMD128-config.h +8 -0
  58. data/ext/digest/kangarootwelve/{keccak/bulldozer → XKCP/lib/low/KeccakP-1600-times2/SIMD128/XOP-ua}/SIMD128-config.h +0 -0
  59. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-SnP.h +45 -0
  60. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c +37 -0
  61. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX2/KeccakP-1600-times4-SIMD256.c +1321 -0
  62. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX2/KeccakP-1600-times4-SnP.h +55 -0
  63. data/ext/digest/kangarootwelve/{keccak/haswell → XKCP/lib/low/KeccakP-1600-times4/AVX2/u12}/SIMD256-config.h +0 -0
  64. data/ext/digest/kangarootwelve/{keccak/skylakex → XKCP/lib/low/KeccakP-1600-times4/AVX512/AVX512u12}/SIMD512-4-config.h +0 -0
  65. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX512/KeccakP-1600-times4-SIMD512.c +881 -0
  66. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX512/KeccakP-1600-times4-SnP.h +51 -0
  67. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-SnP.h +45 -0
  68. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-on1.c +37 -0
  69. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-SnP.h +45 -0
  70. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-on2.c +38 -0
  71. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/AVX512/KeccakP-1600-times8-SIMD512.c +1615 -0
  72. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/AVX512/KeccakP-1600-times8-SnP.h +57 -0
  73. data/ext/digest/kangarootwelve/{keccak/skylakex → XKCP/lib/low/KeccakP-1600-times8/AVX512/u12}/SIMD512-config.h +0 -0
  74. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-SnP.h +45 -0
  75. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-on1.c +37 -0
  76. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-SnP.h +45 -0
  77. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-on2.c +38 -0
  78. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-SnP.h +45 -0
  79. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-on4.c +38 -0
  80. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-SnP.h +41 -0
  81. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv6m-le-gcc.s +446 -0
  82. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv7m-le-gcc.s +427 -0
  83. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/AVR8/KeccakP-200-SnP.h +41 -0
  84. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/AVR8/KeccakP-200-avr8-fast.s +647 -0
  85. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/compact/KeccakP-200-SnP.h +39 -0
  86. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/compact/KeccakP-200-compact.c +190 -0
  87. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-SnP.h +43 -0
  88. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.c +416 -0
  89. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.h +23 -0
  90. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-SnP.h +41 -0
  91. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv6m-le-gcc.s +458 -0
  92. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv7m-le-gcc.s +458 -0
  93. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/AVR8/KeccakP-400-SnP.h +41 -0
  94. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/AVR8/KeccakP-400-avr8-fast.s +728 -0
  95. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-SnP.h +43 -0
  96. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.c +418 -0
  97. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.h +23 -0
  98. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-SnP.h +42 -0
  99. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv6m-le-gcc.s +534 -0
  100. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv7a-le-gcc.s +527 -0
  101. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv7m-le-gcc.s +523 -0
  102. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/AVR8/KeccakP-800-SnP.h +42 -0
  103. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/AVR8/KeccakP-800-avr8-fast.s +929 -0
  104. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/compact/KeccakP-800-SnP.h +40 -0
  105. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/compact/KeccakP-800-compact.c +244 -0
  106. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-SnP.h +46 -0
  107. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32-bis.macros +184 -0
  108. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32.c +454 -0
  109. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32.macros +459 -0
  110. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-unrolling-bis.macros +83 -0
  111. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-unrolling.macros +88 -0
  112. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/lcu2/KeccakP-800-opt32-config.h +7 -0
  113. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/lcua/KeccakP-800-opt32-config.h +7 -0
  114. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/u2/KeccakP-800-opt32-config.h +7 -0
  115. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/ua/KeccakP-800-opt32-config.h +7 -0
  116. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-SnP.h +44 -0
  117. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-reference.c +441 -0
  118. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-reference.h +23 -0
  119. data/ext/digest/kangarootwelve/XKCP/lib/low/common/PlSnP-Fallback.inc +290 -0
  120. data/ext/digest/kangarootwelve/XKCP/lib/low/common/SnP-Relaned.h +141 -0
  121. data/ext/digest/kangarootwelve/XKCP/tests/UnitTests/displayIntermediateValues.c +177 -0
  122. data/ext/digest/kangarootwelve/XKCP/tests/UnitTests/displayIntermediateValues.h +30 -0
  123. data/ext/digest/kangarootwelve/ext.c +30 -22
  124. data/ext/digest/kangarootwelve/extconf.rb +8 -11
  125. data/ext/digest/kangarootwelve/targets/armv6/KangarooTwelve.c +1 -0
  126. data/ext/digest/kangarootwelve/targets/armv6/KangarooTwelve.h +1 -0
  127. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-SnP.h +1 -0
  128. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times2-SnP.h +1 -0
  129. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times2-on1.c +1 -0
  130. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times4-SnP.h +1 -0
  131. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times4-on1.c +1 -0
  132. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times8-SnP.h +1 -0
  133. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times8-on1.c +1 -0
  134. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-u2-32bi-armv6m-le-gcc.S +1 -0
  135. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-200-SnP.h +1 -0
  136. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-200-armv6m-le-gcc.S +1 -0
  137. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-400-SnP.h +1 -0
  138. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-400-armv6m-le-gcc.S +1 -0
  139. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-800-SnP.h +1 -0
  140. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-800-u2-armv6m-le-gcc.S +1 -0
  141. data/ext/digest/kangarootwelve/targets/armv6/KeccakSponge.c +1 -0
  142. data/ext/digest/kangarootwelve/targets/armv6/KeccakSponge.h +1 -0
  143. data/ext/digest/kangarootwelve/targets/armv6/KeccakSponge.inc +1 -0
  144. data/ext/digest/kangarootwelve/targets/armv6/Phases.h +1 -0
  145. data/ext/digest/kangarootwelve/targets/armv6/PlSnP-Fallback.inc +1 -0
  146. data/ext/digest/kangarootwelve/targets/armv6/align.h +1 -0
  147. data/ext/digest/kangarootwelve/targets/armv6/brg_endian.h +1 -0
  148. data/ext/digest/kangarootwelve/targets/armv6/config.h +1 -0
  149. data/ext/digest/kangarootwelve/{keccak/armv6m/ext.link.c → targets/armv6/ext.c} +0 -0
  150. data/ext/digest/kangarootwelve/targets/armv6/utils.h +1 -0
  151. data/ext/digest/kangarootwelve/targets/armv6m/KangarooTwelve.c +1 -0
  152. data/ext/digest/kangarootwelve/targets/armv6m/KangarooTwelve.h +1 -0
  153. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-SnP.h +1 -0
  154. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times2-SnP.h +1 -0
  155. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times2-on1.c +1 -0
  156. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times4-SnP.h +1 -0
  157. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times4-on1.c +1 -0
  158. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times8-SnP.h +1 -0
  159. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times8-on1.c +1 -0
  160. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-u2-32bi-armv6m-le-gcc.S +1 -0
  161. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-200-SnP.h +1 -0
  162. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-200-armv6m-le-gcc.S +1 -0
  163. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-400-SnP.h +1 -0
  164. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-400-armv6m-le-gcc.S +1 -0
  165. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-800-SnP.h +1 -0
  166. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-800-u2-armv6m-le-gcc.S +1 -0
  167. data/ext/digest/kangarootwelve/targets/armv6m/KeccakSponge.c +1 -0
  168. data/ext/digest/kangarootwelve/targets/armv6m/KeccakSponge.h +1 -0
  169. data/ext/digest/kangarootwelve/targets/armv6m/KeccakSponge.inc +1 -0
  170. data/ext/digest/kangarootwelve/targets/armv6m/Phases.h +1 -0
  171. data/ext/digest/kangarootwelve/targets/armv6m/PlSnP-Fallback.inc +1 -0
  172. data/ext/digest/kangarootwelve/targets/armv6m/align.h +1 -0
  173. data/ext/digest/kangarootwelve/targets/armv6m/brg_endian.h +1 -0
  174. data/ext/digest/kangarootwelve/targets/armv6m/config.h +1 -0
  175. data/ext/digest/kangarootwelve/{keccak/armv7a/ext.link.c → targets/armv6m/ext.c} +0 -0
  176. data/ext/digest/kangarootwelve/targets/armv6m/utils.h +1 -0
  177. data/ext/digest/kangarootwelve/targets/armv7a/KangarooTwelve.c +1 -0
  178. data/ext/digest/kangarootwelve/targets/armv7a/KangarooTwelve.h +1 -0
  179. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-SnP.h +1 -0
  180. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-armv7a-le-neon-gcc.S +1 -0
  181. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-inplace-pl2-armv7a-neon-le-gcc.S +1 -0
  182. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times2-SnP.h +1 -0
  183. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times4-SnP.h +1 -0
  184. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times4-on2.c +1 -0
  185. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times8-SnP.h +1 -0
  186. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times8-on2.c +1 -0
  187. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-SnP.h +1 -0
  188. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-reference.c +1 -0
  189. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-reference.h +1 -0
  190. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-SnP.h +1 -0
  191. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-reference.c +1 -0
  192. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-reference.h +1 -0
  193. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-800-SnP.h +1 -0
  194. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-800-u2-armv7a-le-gcc.S +1 -0
  195. data/ext/digest/kangarootwelve/targets/armv7a/KeccakSponge.c +1 -0
  196. data/ext/digest/kangarootwelve/targets/armv7a/KeccakSponge.h +1 -0
  197. data/ext/digest/kangarootwelve/targets/armv7a/KeccakSponge.inc +1 -0
  198. data/ext/digest/kangarootwelve/targets/armv7a/Phases.h +1 -0
  199. data/ext/digest/kangarootwelve/targets/armv7a/PlSnP-Fallback.inc +1 -0
  200. data/ext/digest/kangarootwelve/targets/armv7a/align.h +1 -0
  201. data/ext/digest/kangarootwelve/targets/armv7a/brg_endian.h +1 -0
  202. data/ext/digest/kangarootwelve/targets/armv7a/config.h +1 -0
  203. data/ext/digest/kangarootwelve/{keccak/armv7m/ext.link.c → targets/armv7a/ext.c} +0 -0
  204. data/ext/digest/kangarootwelve/targets/armv7a/utils.h +1 -0
  205. data/ext/digest/kangarootwelve/targets/armv7m/KangarooTwelve.c +1 -0
  206. data/ext/digest/kangarootwelve/targets/armv7m/KangarooTwelve.h +1 -0
  207. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-SnP.h +1 -0
  208. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-inplace-32bi-armv7m-le-gcc.S +1 -0
  209. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times2-SnP.h +1 -0
  210. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times2-on1.c +1 -0
  211. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times4-SnP.h +1 -0
  212. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times4-on1.c +1 -0
  213. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times8-SnP.h +1 -0
  214. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times8-on1.c +1 -0
  215. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-200-SnP.h +1 -0
  216. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-200-armv7m-le-gcc.S +1 -0
  217. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-400-SnP.h +1 -0
  218. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-400-armv7m-le-gcc.S +1 -0
  219. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-800-SnP.h +1 -0
  220. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-800-u2-armv7m-le-gcc.S +1 -0
  221. data/ext/digest/kangarootwelve/targets/armv7m/KeccakSponge.c +1 -0
  222. data/ext/digest/kangarootwelve/targets/armv7m/KeccakSponge.h +1 -0
  223. data/ext/digest/kangarootwelve/targets/armv7m/KeccakSponge.inc +1 -0
  224. data/ext/digest/kangarootwelve/targets/armv7m/Phases.h +1 -0
  225. data/ext/digest/kangarootwelve/targets/armv7m/PlSnP-Fallback.inc +1 -0
  226. data/ext/digest/kangarootwelve/targets/armv7m/align.h +1 -0
  227. data/ext/digest/kangarootwelve/targets/armv7m/brg_endian.h +1 -0
  228. data/ext/digest/kangarootwelve/targets/armv7m/config.h +1 -0
  229. data/ext/digest/kangarootwelve/{keccak/armv8a/ext.link.c → targets/armv7m/ext.c} +0 -0
  230. data/ext/digest/kangarootwelve/targets/armv7m/utils.h +1 -0
  231. data/ext/digest/kangarootwelve/targets/armv8a/KangarooTwelve.c +1 -0
  232. data/ext/digest/kangarootwelve/targets/armv8a/KangarooTwelve.h +1 -0
  233. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-64.macros +1 -0
  234. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-SnP.h +1 -0
  235. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-opt64-config.h +1 -0
  236. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-opt64.c +1 -0
  237. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times2-SnP.h +1 -0
  238. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times2-on1.c +1 -0
  239. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times4-SnP.h +1 -0
  240. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times4-on1.c +1 -0
  241. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times8-SnP.h +1 -0
  242. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times8-on1.c +1 -0
  243. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-unrolling.macros +1 -0
  244. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-SnP.h +1 -0
  245. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-reference.c +1 -0
  246. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-reference.h +1 -0
  247. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-SnP.h +1 -0
  248. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-reference.c +1 -0
  249. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-reference.h +1 -0
  250. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-SnP.h +1 -0
  251. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32-bis.macros +1 -0
  252. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32-config.h +1 -0
  253. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32.c +1 -0
  254. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32.macros +1 -0
  255. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-unrolling-bis.macros +1 -0
  256. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-unrolling.macros +1 -0
  257. data/ext/digest/kangarootwelve/targets/armv8a/KeccakSponge.c +1 -0
  258. data/ext/digest/kangarootwelve/targets/armv8a/KeccakSponge.h +1 -0
  259. data/ext/digest/kangarootwelve/targets/armv8a/KeccakSponge.inc +1 -0
  260. data/ext/digest/kangarootwelve/targets/armv8a/Phases.h +1 -0
  261. data/ext/digest/kangarootwelve/targets/armv8a/PlSnP-Fallback.inc +1 -0
  262. data/ext/digest/kangarootwelve/targets/armv8a/SnP-Relaned.h +1 -0
  263. data/ext/digest/kangarootwelve/targets/armv8a/align.h +1 -0
  264. data/ext/digest/kangarootwelve/targets/armv8a/brg_endian.h +1 -0
  265. data/ext/digest/kangarootwelve/targets/armv8a/config.h +1 -0
  266. data/ext/digest/kangarootwelve/{keccak/asmx86-64/ext.link.c → targets/armv8a/ext.c} +0 -0
  267. data/ext/digest/kangarootwelve/targets/armv8a/utils.h +1 -0
  268. data/ext/digest/kangarootwelve/targets/avr8/KangarooTwelve.c +1 -0
  269. data/ext/digest/kangarootwelve/targets/avr8/KangarooTwelve.h +1 -0
  270. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-SnP.h +1 -0
  271. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-avr8-fast.S +1 -0
  272. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times2-SnP.h +1 -0
  273. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times2-on1.c +1 -0
  274. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times4-SnP.h +1 -0
  275. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times4-on1.c +1 -0
  276. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times8-SnP.h +1 -0
  277. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times8-on1.c +1 -0
  278. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-200-SnP.h +1 -0
  279. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-200-avr8-fast.S +1 -0
  280. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-400-SnP.h +1 -0
  281. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-400-avr8-fast.S +1 -0
  282. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-800-SnP.h +1 -0
  283. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-800-avr8-fast.S +1 -0
  284. data/ext/digest/kangarootwelve/targets/avr8/KeccakSponge.c +1 -0
  285. data/ext/digest/kangarootwelve/targets/avr8/KeccakSponge.h +1 -0
  286. data/ext/digest/kangarootwelve/targets/avr8/KeccakSponge.inc +1 -0
  287. data/ext/digest/kangarootwelve/targets/avr8/Phases.h +1 -0
  288. data/ext/digest/kangarootwelve/targets/avr8/PlSnP-Fallback.inc +1 -0
  289. data/ext/digest/kangarootwelve/targets/avr8/align.h +1 -0
  290. data/ext/digest/kangarootwelve/targets/avr8/brg_endian.h +1 -0
  291. data/ext/digest/kangarootwelve/targets/avr8/config.h +1 -0
  292. data/ext/digest/kangarootwelve/{keccak/asmx86-64shld/ext.link.c → targets/avr8/ext.c} +0 -0
  293. data/ext/digest/kangarootwelve/targets/avr8/utils.h +1 -0
  294. data/ext/digest/kangarootwelve/targets/avx/KangarooTwelve.c +1 -0
  295. data/ext/digest/kangarootwelve/targets/avx/KangarooTwelve.h +1 -0
  296. data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-64.macros +1 -0
  297. data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-SnP.h +1 -0
  298. data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-opt64-config.h +1 -0
  299. data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-opt64.c +1 -0
  300. data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times2-SIMD128.c +1 -0
  301. data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times2-SnP.h +1 -0
  302. data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times4-SnP.h +1 -0
  303. data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times4-on2.c +1 -0
  304. data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times8-SnP.h +1 -0
  305. data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times8-on2.c +1 -0
  306. data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-unrolling.macros +1 -0
  307. data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-SnP.h +1 -0
  308. data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-reference.c +1 -0
  309. data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-reference.h +1 -0
  310. data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-SnP.h +1 -0
  311. data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-reference.c +1 -0
  312. data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-reference.h +1 -0
  313. data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-SnP.h +1 -0
  314. data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32-bis.macros +1 -0
  315. data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32-config.h +1 -0
  316. data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32.c +1 -0
  317. data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32.macros +1 -0
  318. data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-unrolling-bis.macros +1 -0
  319. data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-unrolling.macros +1 -0
  320. data/ext/digest/kangarootwelve/targets/avx/KeccakSponge.c +1 -0
  321. data/ext/digest/kangarootwelve/targets/avx/KeccakSponge.h +1 -0
  322. data/ext/digest/kangarootwelve/targets/avx/KeccakSponge.inc +1 -0
  323. data/ext/digest/kangarootwelve/targets/avx/Phases.h +1 -0
  324. data/ext/digest/kangarootwelve/targets/avx/PlSnP-Fallback.inc +1 -0
  325. data/ext/digest/kangarootwelve/targets/avx/SIMD128-config.h +1 -0
  326. data/ext/digest/kangarootwelve/targets/avx/SnP-Relaned.h +1 -0
  327. data/ext/digest/kangarootwelve/targets/avx/align.h +1 -0
  328. data/ext/digest/kangarootwelve/targets/avx/brg_endian.h +1 -0
  329. data/ext/digest/kangarootwelve/targets/avx/config.h +1 -0
  330. data/ext/digest/kangarootwelve/{keccak/avr8/ext.link.c → targets/avx/ext.c} +0 -0
  331. data/ext/digest/kangarootwelve/targets/avx/utils.h +1 -0
  332. data/ext/digest/kangarootwelve/targets/avx2/KangarooTwelve.c +1 -0
  333. data/ext/digest/kangarootwelve/targets/avx2/KangarooTwelve.h +1 -0
  334. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-AVX2.S +1 -0
  335. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-SnP.h +1 -0
  336. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times2-SIMD128.c +1 -0
  337. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times2-SnP.h +1 -0
  338. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times4-SIMD256.c +1 -0
  339. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times4-SnP.h +1 -0
  340. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times8-SnP.h +1 -0
  341. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times8-on4.c +1 -0
  342. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-unrolling.macros +1 -0
  343. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-SnP.h +1 -0
  344. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-reference.c +1 -0
  345. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-reference.h +1 -0
  346. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-SnP.h +1 -0
  347. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-reference.c +1 -0
  348. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-reference.h +1 -0
  349. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-SnP.h +1 -0
  350. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32-bis.macros +1 -0
  351. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32-config.h +1 -0
  352. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32.c +1 -0
  353. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32.macros +1 -0
  354. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-unrolling-bis.macros +1 -0
  355. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-unrolling.macros +1 -0
  356. data/ext/digest/kangarootwelve/targets/avx2/KeccakSponge.c +1 -0
  357. data/ext/digest/kangarootwelve/targets/avx2/KeccakSponge.h +1 -0
  358. data/ext/digest/kangarootwelve/targets/avx2/KeccakSponge.inc +1 -0
  359. data/ext/digest/kangarootwelve/targets/avx2/Phases.h +1 -0
  360. data/ext/digest/kangarootwelve/targets/avx2/PlSnP-Fallback.inc +1 -0
  361. data/ext/digest/kangarootwelve/targets/avx2/SIMD128-config.h +1 -0
  362. data/ext/digest/kangarootwelve/targets/avx2/SIMD256-config.h +1 -0
  363. data/ext/digest/kangarootwelve/targets/avx2/align.h +1 -0
  364. data/ext/digest/kangarootwelve/targets/avx2/brg_endian.h +1 -0
  365. data/ext/digest/kangarootwelve/targets/avx2/config.h +1 -0
  366. data/ext/digest/kangarootwelve/{keccak/bulldozer/ext.link.c → targets/avx2/ext.c} +0 -0
  367. data/ext/digest/kangarootwelve/targets/avx2/utils.h +1 -0
  368. data/ext/digest/kangarootwelve/targets/avx2noasm/KangarooTwelve.c +1 -0
  369. data/ext/digest/kangarootwelve/targets/avx2noasm/KangarooTwelve.h +1 -0
  370. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-64.macros +1 -0
  371. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-SnP.h +1 -0
  372. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-opt64-config.h +1 -0
  373. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-opt64.c +1 -0
  374. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times2-SIMD128.c +1 -0
  375. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times2-SnP.h +1 -0
  376. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times4-SIMD256.c +1 -0
  377. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times4-SnP.h +1 -0
  378. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times8-SnP.h +1 -0
  379. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times8-on4.c +1 -0
  380. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-unrolling.macros +1 -0
  381. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-SnP.h +1 -0
  382. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-reference.c +1 -0
  383. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-reference.h +1 -0
  384. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-SnP.h +1 -0
  385. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-reference.c +1 -0
  386. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-reference.h +1 -0
  387. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-SnP.h +1 -0
  388. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32-bis.macros +1 -0
  389. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32-config.h +1 -0
  390. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32.c +1 -0
  391. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32.macros +1 -0
  392. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-unrolling-bis.macros +1 -0
  393. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-unrolling.macros +1 -0
  394. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakSponge.c +1 -0
  395. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakSponge.h +1 -0
  396. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakSponge.inc +1 -0
  397. data/ext/digest/kangarootwelve/targets/avx2noasm/Phases.h +1 -0
  398. data/ext/digest/kangarootwelve/targets/avx2noasm/PlSnP-Fallback.inc +1 -0
  399. data/ext/digest/kangarootwelve/targets/avx2noasm/SIMD128-config.h +1 -0
  400. data/ext/digest/kangarootwelve/targets/avx2noasm/SIMD256-config.h +1 -0
  401. data/ext/digest/kangarootwelve/targets/avx2noasm/SnP-Relaned.h +1 -0
  402. data/ext/digest/kangarootwelve/targets/avx2noasm/align.h +1 -0
  403. data/ext/digest/kangarootwelve/targets/avx2noasm/brg_endian.h +1 -0
  404. data/ext/digest/kangarootwelve/targets/avx2noasm/config.h +1 -0
  405. data/ext/digest/kangarootwelve/{keccak/compact/ext.link.c → targets/avx2noasm/ext.c} +0 -0
  406. data/ext/digest/kangarootwelve/targets/avx2noasm/utils.h +1 -0
  407. data/ext/digest/kangarootwelve/targets/avx512/KangarooTwelve.c +1 -0
  408. data/ext/digest/kangarootwelve/targets/avx512/KangarooTwelve.h +1 -0
  409. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-AVX512.S +1 -0
  410. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-SnP.h +1 -0
  411. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-times2-SIMD512.c +1 -0
  412. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-times2-SnP.h +1 -0
  413. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-times4-SIMD512.c +1 -0
  414. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-times4-SnP.h +1 -0
  415. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-times8-SIMD512.c +1 -0
  416. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-1600-times8-SnP.h +1 -0
  417. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-SnP.h +1 -0
  418. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-reference.c +1 -0
  419. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-reference.h +1 -0
  420. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-SnP.h +1 -0
  421. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-reference.c +1 -0
  422. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-reference.h +1 -0
  423. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-SnP.h +1 -0
  424. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32-bis.macros +1 -0
  425. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32-config.h +1 -0
  426. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32.c +1 -0
  427. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32.macros +1 -0
  428. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-unrolling-bis.macros +1 -0
  429. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-unrolling.macros +1 -0
  430. data/ext/digest/kangarootwelve/targets/avx512/KeccakSponge.c +1 -0
  431. data/ext/digest/kangarootwelve/targets/avx512/KeccakSponge.h +1 -0
  432. data/ext/digest/kangarootwelve/targets/avx512/KeccakSponge.inc +1 -0
  433. data/ext/digest/kangarootwelve/targets/avx512/Phases.h +1 -0
  434. data/ext/digest/kangarootwelve/targets/avx512/SIMD512-2-config.h +1 -0
  435. data/ext/digest/kangarootwelve/targets/avx512/SIMD512-4-config.h +1 -0
  436. data/ext/digest/kangarootwelve/targets/avx512/SIMD512-config.h +1 -0
  437. data/ext/digest/kangarootwelve/targets/avx512/align.h +1 -0
  438. data/ext/digest/kangarootwelve/targets/avx512/brg_endian.h +1 -0
  439. data/ext/digest/kangarootwelve/targets/avx512/config.h +1 -0
  440. data/ext/digest/kangarootwelve/{keccak/generic32/ext.link.c → targets/avx512/ext.c} +0 -0
  441. data/ext/digest/kangarootwelve/targets/avx512/utils.h +1 -0
  442. data/ext/digest/kangarootwelve/targets/avx512noasm/KangarooTwelve.c +1 -0
  443. data/ext/digest/kangarootwelve/targets/avx512noasm/KangarooTwelve.h +1 -0
  444. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-AVX512-config.h +1 -0
  445. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-AVX512.c +1 -0
  446. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-SnP.h +1 -0
  447. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-times2-SIMD512.c +1 -0
  448. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-times2-SnP.h +1 -0
  449. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-times4-SIMD512.c +1 -0
  450. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-times4-SnP.h +1 -0
  451. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-times8-SIMD512.c +1 -0
  452. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-1600-times8-SnP.h +1 -0
  453. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-SnP.h +1 -0
  454. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-reference.c +1 -0
  455. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-reference.h +1 -0
  456. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-SnP.h +1 -0
  457. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-reference.c +1 -0
  458. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-reference.h +1 -0
  459. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-SnP.h +1 -0
  460. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32-bis.macros +1 -0
  461. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32-config.h +1 -0
  462. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32.c +1 -0
  463. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32.macros +1 -0
  464. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-unrolling-bis.macros +1 -0
  465. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-unrolling.macros +1 -0
  466. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakSponge.c +1 -0
  467. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakSponge.h +1 -0
  468. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakSponge.inc +1 -0
  469. data/ext/digest/kangarootwelve/targets/avx512noasm/Phases.h +1 -0
  470. data/ext/digest/kangarootwelve/targets/avx512noasm/SIMD512-2-config.h +1 -0
  471. data/ext/digest/kangarootwelve/targets/avx512noasm/SIMD512-4-config.h +1 -0
  472. data/ext/digest/kangarootwelve/targets/avx512noasm/SIMD512-config.h +1 -0
  473. data/ext/digest/kangarootwelve/targets/avx512noasm/align.h +1 -0
  474. data/ext/digest/kangarootwelve/targets/avx512noasm/brg_endian.h +1 -0
  475. data/ext/digest/kangarootwelve/targets/avx512noasm/config.h +1 -0
  476. data/ext/digest/kangarootwelve/{keccak/generic32lc/ext.link.c → targets/avx512noasm/ext.c} +0 -0
  477. data/ext/digest/kangarootwelve/targets/avx512noasm/utils.h +1 -0
  478. data/ext/digest/kangarootwelve/targets/compact/KangarooTwelve.c +1 -0
  479. data/ext/digest/kangarootwelve/targets/compact/KangarooTwelve.h +1 -0
  480. data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-SnP.h +1 -0
  481. data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-compact64.c +1 -0
  482. data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times2-SnP.h +1 -0
  483. data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times2-on1.c +1 -0
  484. data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times4-SnP.h +1 -0
  485. data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times4-on1.c +1 -0
  486. data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times8-SnP.h +1 -0
  487. data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times8-on1.c +1 -0
  488. data/ext/digest/kangarootwelve/targets/compact/KeccakP-200-SnP.h +1 -0
  489. data/ext/digest/kangarootwelve/targets/compact/KeccakP-200-compact.c +1 -0
  490. data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-SnP.h +1 -0
  491. data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-reference.c +1 -0
  492. data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-reference.h +1 -0
  493. data/ext/digest/kangarootwelve/targets/compact/KeccakP-800-SnP.h +1 -0
  494. data/ext/digest/kangarootwelve/targets/compact/KeccakP-800-compact.c +1 -0
  495. data/ext/digest/kangarootwelve/targets/compact/KeccakSponge.c +1 -0
  496. data/ext/digest/kangarootwelve/targets/compact/KeccakSponge.h +1 -0
  497. data/ext/digest/kangarootwelve/targets/compact/KeccakSponge.inc +1 -0
  498. data/ext/digest/kangarootwelve/targets/compact/Phases.h +1 -0
  499. data/ext/digest/kangarootwelve/targets/compact/PlSnP-Fallback.inc +1 -0
  500. data/ext/digest/kangarootwelve/targets/compact/SnP-Relaned.h +1 -0
  501. data/ext/digest/kangarootwelve/targets/compact/align.h +1 -0
  502. data/ext/digest/kangarootwelve/targets/compact/brg_endian.h +1 -0
  503. data/ext/digest/kangarootwelve/targets/compact/config.h +1 -0
  504. data/ext/digest/kangarootwelve/{keccak/generic64/ext.link.c → targets/compact/ext.c} +0 -0
  505. data/ext/digest/kangarootwelve/targets/compact/utils.h +1 -0
  506. data/ext/digest/kangarootwelve/targets/config.h +9 -0
  507. data/ext/digest/kangarootwelve/targets/defs +2 -0
  508. data/ext/digest/kangarootwelve/targets/generic32/KangarooTwelve.c +1 -0
  509. data/ext/digest/kangarootwelve/targets/generic32/KangarooTwelve.h +1 -0
  510. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-SnP.h +1 -0
  511. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-inplace32BI.c +1 -0
  512. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times2-SnP.h +1 -0
  513. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times2-on1.c +1 -0
  514. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times4-SnP.h +1 -0
  515. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times4-on1.c +1 -0
  516. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times8-SnP.h +1 -0
  517. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times8-on1.c +1 -0
  518. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-SnP.h +1 -0
  519. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-reference.c +1 -0
  520. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-reference.h +1 -0
  521. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-SnP.h +1 -0
  522. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-reference.c +1 -0
  523. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-reference.h +1 -0
  524. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-SnP.h +1 -0
  525. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32-bis.macros +1 -0
  526. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32-config.h +1 -0
  527. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32.c +1 -0
  528. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32.macros +1 -0
  529. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-unrolling-bis.macros +1 -0
  530. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-unrolling.macros +1 -0
  531. data/ext/digest/kangarootwelve/targets/generic32/KeccakSponge.c +1 -0
  532. data/ext/digest/kangarootwelve/targets/generic32/KeccakSponge.h +1 -0
  533. data/ext/digest/kangarootwelve/targets/generic32/KeccakSponge.inc +1 -0
  534. data/ext/digest/kangarootwelve/targets/generic32/Phases.h +1 -0
  535. data/ext/digest/kangarootwelve/targets/generic32/PlSnP-Fallback.inc +1 -0
  536. data/ext/digest/kangarootwelve/targets/generic32/SnP-Relaned.h +1 -0
  537. data/ext/digest/kangarootwelve/targets/generic32/align.h +1 -0
  538. data/ext/digest/kangarootwelve/targets/generic32/brg_endian.h +1 -0
  539. data/ext/digest/kangarootwelve/targets/generic32/config.h +1 -0
  540. data/ext/digest/kangarootwelve/{keccak/generic64lc/ext.link.c → targets/generic32/ext.c} +0 -0
  541. data/ext/digest/kangarootwelve/targets/generic32/utils.h +1 -0
  542. data/ext/digest/kangarootwelve/targets/generic32lc/KangarooTwelve.c +1 -0
  543. data/ext/digest/kangarootwelve/targets/generic32lc/KangarooTwelve.h +1 -0
  544. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-SnP.h +1 -0
  545. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-inplace32BI.c +1 -0
  546. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times2-SnP.h +1 -0
  547. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times2-on1.c +1 -0
  548. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times4-SnP.h +1 -0
  549. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times4-on1.c +1 -0
  550. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times8-SnP.h +1 -0
  551. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times8-on1.c +1 -0
  552. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-SnP.h +1 -0
  553. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-reference.c +1 -0
  554. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-reference.h +1 -0
  555. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-SnP.h +1 -0
  556. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-reference.c +1 -0
  557. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-reference.h +1 -0
  558. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-SnP.h +1 -0
  559. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32-bis.macros +1 -0
  560. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32-config.h +1 -0
  561. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32.c +1 -0
  562. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32.macros +1 -0
  563. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-unrolling-bis.macros +1 -0
  564. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-unrolling.macros +1 -0
  565. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakSponge.c +1 -0
  566. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakSponge.h +1 -0
  567. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakSponge.inc +1 -0
  568. data/ext/digest/kangarootwelve/targets/generic32lc/Phases.h +1 -0
  569. data/ext/digest/kangarootwelve/targets/generic32lc/PlSnP-Fallback.inc +1 -0
  570. data/ext/digest/kangarootwelve/targets/generic32lc/SnP-Relaned.h +1 -0
  571. data/ext/digest/kangarootwelve/targets/generic32lc/align.h +1 -0
  572. data/ext/digest/kangarootwelve/targets/generic32lc/brg_endian.h +1 -0
  573. data/ext/digest/kangarootwelve/targets/generic32lc/config.h +1 -0
  574. data/ext/digest/kangarootwelve/{keccak/haswell/ext.link.c → targets/generic32lc/ext.c} +0 -0
  575. data/ext/digest/kangarootwelve/targets/generic32lc/utils.h +1 -0
  576. data/ext/digest/kangarootwelve/targets/generic64/KangarooTwelve.c +1 -0
  577. data/ext/digest/kangarootwelve/targets/generic64/KangarooTwelve.h +1 -0
  578. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-64.macros +1 -0
  579. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-SnP.h +1 -0
  580. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-opt64-config.h +1 -0
  581. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-opt64.c +1 -0
  582. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times2-SnP.h +1 -0
  583. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times2-on1.c +1 -0
  584. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times4-SnP.h +1 -0
  585. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times4-on1.c +1 -0
  586. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times8-SnP.h +1 -0
  587. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times8-on1.c +1 -0
  588. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-unrolling.macros +1 -0
  589. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-SnP.h +1 -0
  590. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-reference.c +1 -0
  591. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-reference.h +1 -0
  592. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-SnP.h +1 -0
  593. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-reference.c +1 -0
  594. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-reference.h +1 -0
  595. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-SnP.h +1 -0
  596. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32-bis.macros +1 -0
  597. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32-config.h +1 -0
  598. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32.c +1 -0
  599. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32.macros +1 -0
  600. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-unrolling-bis.macros +1 -0
  601. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-unrolling.macros +1 -0
  602. data/ext/digest/kangarootwelve/targets/generic64/KeccakSponge.c +1 -0
  603. data/ext/digest/kangarootwelve/targets/generic64/KeccakSponge.h +1 -0
  604. data/ext/digest/kangarootwelve/targets/generic64/KeccakSponge.inc +1 -0
  605. data/ext/digest/kangarootwelve/targets/generic64/Phases.h +1 -0
  606. data/ext/digest/kangarootwelve/targets/generic64/PlSnP-Fallback.inc +1 -0
  607. data/ext/digest/kangarootwelve/targets/generic64/SnP-Relaned.h +1 -0
  608. data/ext/digest/kangarootwelve/targets/generic64/align.h +1 -0
  609. data/ext/digest/kangarootwelve/targets/generic64/brg_endian.h +1 -0
  610. data/ext/digest/kangarootwelve/targets/generic64/config.h +1 -0
  611. data/ext/digest/kangarootwelve/{keccak/nehalem/ext.link.c → targets/generic64/ext.c} +0 -0
  612. data/ext/digest/kangarootwelve/targets/generic64/utils.h +1 -0
  613. data/ext/digest/kangarootwelve/targets/generic64lc/KangarooTwelve.c +1 -0
  614. data/ext/digest/kangarootwelve/targets/generic64lc/KangarooTwelve.h +1 -0
  615. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-64.macros +1 -0
  616. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-SnP.h +1 -0
  617. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-opt64-config.h +1 -0
  618. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-opt64.c +1 -0
  619. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times2-SnP.h +1 -0
  620. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times2-on1.c +1 -0
  621. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times4-SnP.h +1 -0
  622. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times4-on1.c +1 -0
  623. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times8-SnP.h +1 -0
  624. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times8-on1.c +1 -0
  625. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-unrolling.macros +1 -0
  626. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-SnP.h +1 -0
  627. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-reference.c +1 -0
  628. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-reference.h +1 -0
  629. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-SnP.h +1 -0
  630. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-reference.c +1 -0
  631. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-reference.h +1 -0
  632. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-SnP.h +1 -0
  633. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32-bis.macros +1 -0
  634. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32-config.h +1 -0
  635. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32.c +1 -0
  636. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32.macros +1 -0
  637. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-unrolling-bis.macros +1 -0
  638. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-unrolling.macros +1 -0
  639. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakSponge.c +1 -0
  640. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakSponge.h +1 -0
  641. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakSponge.inc +1 -0
  642. data/ext/digest/kangarootwelve/targets/generic64lc/Phases.h +1 -0
  643. data/ext/digest/kangarootwelve/targets/generic64lc/PlSnP-Fallback.inc +1 -0
  644. data/ext/digest/kangarootwelve/targets/generic64lc/SnP-Relaned.h +1 -0
  645. data/ext/digest/kangarootwelve/targets/generic64lc/align.h +1 -0
  646. data/ext/digest/kangarootwelve/targets/generic64lc/brg_endian.h +1 -0
  647. data/ext/digest/kangarootwelve/targets/generic64lc/config.h +1 -0
  648. data/ext/digest/kangarootwelve/{keccak/reference/ext.link.c → targets/generic64lc/ext.c} +0 -0
  649. data/ext/digest/kangarootwelve/targets/generic64lc/utils.h +1 -0
  650. data/ext/digest/kangarootwelve/targets/list +20 -0
  651. data/ext/digest/kangarootwelve/targets/reference/KangarooTwelve.c +1 -0
  652. data/ext/digest/kangarootwelve/targets/reference/KangarooTwelve.h +1 -0
  653. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-SnP.h +1 -0
  654. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-reference.c +1 -0
  655. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-reference.h +1 -0
  656. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times2-SnP.h +1 -0
  657. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times2-on1.c +1 -0
  658. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times4-SnP.h +1 -0
  659. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times4-on1.c +1 -0
  660. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times8-SnP.h +1 -0
  661. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times8-on1.c +1 -0
  662. data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-SnP.h +1 -0
  663. data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-reference.c +1 -0
  664. data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-reference.h +1 -0
  665. data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-SnP.h +1 -0
  666. data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-reference.c +1 -0
  667. data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-reference.h +1 -0
  668. data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-SnP.h +1 -0
  669. data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-reference.c +1 -0
  670. data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-reference.h +1 -0
  671. data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.c +1 -0
  672. data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.h +1 -0
  673. data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.inc +1 -0
  674. data/ext/digest/kangarootwelve/targets/reference/Phases.h +1 -0
  675. data/ext/digest/kangarootwelve/targets/reference/PlSnP-Fallback.inc +1 -0
  676. data/ext/digest/kangarootwelve/targets/reference/align.h +1 -0
  677. data/ext/digest/kangarootwelve/targets/reference/brg_endian.h +1 -0
  678. data/ext/digest/kangarootwelve/targets/reference/config.h +1 -0
  679. data/ext/digest/kangarootwelve/targets/reference/displayIntermediateValues.c +1 -0
  680. data/ext/digest/kangarootwelve/targets/reference/displayIntermediateValues.h +1 -0
  681. data/ext/digest/kangarootwelve/{keccak/reference32bits/ext.link.c → targets/reference/ext.c} +0 -0
  682. data/ext/digest/kangarootwelve/targets/reference/utils.h +1 -0
  683. data/ext/digest/kangarootwelve/targets/reference32bits/KangarooTwelve.c +1 -0
  684. data/ext/digest/kangarootwelve/targets/reference32bits/KangarooTwelve.h +1 -0
  685. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-SnP.h +1 -0
  686. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-reference.h +1 -0
  687. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-reference32BI.c +1 -0
  688. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times2-SnP.h +1 -0
  689. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times2-on1.c +1 -0
  690. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times4-SnP.h +1 -0
  691. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times4-on1.c +1 -0
  692. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times8-SnP.h +1 -0
  693. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times8-on1.c +1 -0
  694. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-SnP.h +1 -0
  695. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-reference.c +1 -0
  696. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-reference.h +1 -0
  697. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-SnP.h +1 -0
  698. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-reference.c +1 -0
  699. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-reference.h +1 -0
  700. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-SnP.h +1 -0
  701. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-reference.c +1 -0
  702. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-reference.h +1 -0
  703. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.c +1 -0
  704. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.h +1 -0
  705. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.inc +1 -0
  706. data/ext/digest/kangarootwelve/targets/reference32bits/Phases.h +1 -0
  707. data/ext/digest/kangarootwelve/targets/reference32bits/PlSnP-Fallback.inc +1 -0
  708. data/ext/digest/kangarootwelve/targets/reference32bits/align.h +1 -0
  709. data/ext/digest/kangarootwelve/targets/reference32bits/brg_endian.h +1 -0
  710. data/ext/digest/kangarootwelve/targets/reference32bits/config.h +1 -0
  711. data/ext/digest/kangarootwelve/targets/reference32bits/displayIntermediateValues.c +1 -0
  712. data/ext/digest/kangarootwelve/targets/reference32bits/displayIntermediateValues.h +1 -0
  713. data/ext/digest/kangarootwelve/{keccak/sandybridge/ext.link.c → targets/reference32bits/ext.c} +0 -0
  714. data/ext/digest/kangarootwelve/targets/reference32bits/utils.h +1 -0
  715. data/ext/digest/kangarootwelve/targets/ssse3/KangarooTwelve.c +1 -0
  716. data/ext/digest/kangarootwelve/targets/ssse3/KangarooTwelve.h +1 -0
  717. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-64.macros +1 -0
  718. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-SnP.h +1 -0
  719. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-opt64-config.h +1 -0
  720. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-opt64.c +1 -0
  721. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times2-SIMD128.c +1 -0
  722. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times2-SnP.h +1 -0
  723. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times4-SnP.h +1 -0
  724. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times4-on2.c +1 -0
  725. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times8-SnP.h +1 -0
  726. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times8-on2.c +1 -0
  727. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-unrolling.macros +1 -0
  728. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-SnP.h +1 -0
  729. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-reference.c +1 -0
  730. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-reference.h +1 -0
  731. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-SnP.h +1 -0
  732. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-reference.c +1 -0
  733. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-reference.h +1 -0
  734. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-SnP.h +1 -0
  735. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32-bis.macros +1 -0
  736. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32-config.h +1 -0
  737. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32.c +1 -0
  738. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32.macros +1 -0
  739. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-unrolling-bis.macros +1 -0
  740. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-unrolling.macros +1 -0
  741. data/ext/digest/kangarootwelve/targets/ssse3/KeccakSponge.c +1 -0
  742. data/ext/digest/kangarootwelve/targets/ssse3/KeccakSponge.h +1 -0
  743. data/ext/digest/kangarootwelve/targets/ssse3/KeccakSponge.inc +1 -0
  744. data/ext/digest/kangarootwelve/targets/ssse3/Phases.h +1 -0
  745. data/ext/digest/kangarootwelve/targets/ssse3/PlSnP-Fallback.inc +1 -0
  746. data/ext/digest/kangarootwelve/targets/ssse3/SIMD128-config.h +1 -0
  747. data/ext/digest/kangarootwelve/targets/ssse3/SnP-Relaned.h +1 -0
  748. data/ext/digest/kangarootwelve/targets/ssse3/align.h +1 -0
  749. data/ext/digest/kangarootwelve/targets/ssse3/brg_endian.h +1 -0
  750. data/ext/digest/kangarootwelve/targets/ssse3/config.h +1 -0
  751. data/ext/digest/kangarootwelve/{keccak/skylakex/ext.link.c → targets/ssse3/ext.c} +0 -0
  752. data/ext/digest/kangarootwelve/targets/ssse3/utils.h +1 -0
  753. data/ext/digest/kangarootwelve/targets/xop/KangarooTwelve.c +1 -0
  754. data/ext/digest/kangarootwelve/targets/xop/KangarooTwelve.h +1 -0
  755. data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-SnP.h +1 -0
  756. data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-XOP-config.h +1 -0
  757. data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-XOP.c +1 -0
  758. data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times2-SIMD128.c +1 -0
  759. data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times2-SnP.h +1 -0
  760. data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times4-SnP.h +1 -0
  761. data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times4-on2.c +1 -0
  762. data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times8-SnP.h +1 -0
  763. data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times8-on2.c +1 -0
  764. data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-unrolling.macros +1 -0
  765. data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-SnP.h +1 -0
  766. data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-reference.c +1 -0
  767. data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-reference.h +1 -0
  768. data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-SnP.h +1 -0
  769. data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-reference.c +1 -0
  770. data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-reference.h +1 -0
  771. data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-SnP.h +1 -0
  772. data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32-bis.macros +1 -0
  773. data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32-config.h +1 -0
  774. data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32.c +1 -0
  775. data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32.macros +1 -0
  776. data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-unrolling-bis.macros +1 -0
  777. data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-unrolling.macros +1 -0
  778. data/ext/digest/kangarootwelve/targets/xop/KeccakSponge.c +1 -0
  779. data/ext/digest/kangarootwelve/targets/xop/KeccakSponge.h +1 -0
  780. data/ext/digest/kangarootwelve/targets/xop/KeccakSponge.inc +1 -0
  781. data/ext/digest/kangarootwelve/targets/xop/Phases.h +1 -0
  782. data/ext/digest/kangarootwelve/targets/xop/PlSnP-Fallback.inc +1 -0
  783. data/ext/digest/kangarootwelve/targets/xop/SIMD128-config.h +1 -0
  784. data/ext/digest/kangarootwelve/targets/xop/SnP-Relaned.h +1 -0
  785. data/ext/digest/kangarootwelve/targets/xop/align.h +1 -0
  786. data/ext/digest/kangarootwelve/targets/xop/brg_endian.h +1 -0
  787. data/ext/digest/kangarootwelve/targets/xop/config.h +1 -0
  788. data/ext/digest/kangarootwelve/targets/xop/ext.c +1 -0
  789. data/ext/digest/kangarootwelve/targets/xop/utils.h +1 -0
  790. data/lib/digest/kangarootwelve/version.rb +1 -1
  791. data/rakelib/alt-install-task.rake +58 -0
  792. data/test/test.rb +5 -3
  793. metadata +817 -301
  794. data/ext/digest/kangarootwelve/keccak/armv6m/KangarooTwelve.link.c +0 -1
  795. data/ext/digest/kangarootwelve/keccak/armv6m/KeccakDuplexWidth1600.link.c +0 -1
  796. data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-SnP.h +0 -36
  797. data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-times2-SnP.h +0 -45
  798. data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-times2-on1.c +0 -37
  799. data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-times4-SnP.h +0 -45
  800. data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-times4-on1.c +0 -37
  801. data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-times8-SnP.h +0 -45
  802. data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-times8-on1.c +0 -37
  803. data/ext/digest/kangarootwelve/keccak/armv6m/KeccakP-1600-u2-32bi-armv6m-le-gcc.s +0 -1334
  804. data/ext/digest/kangarootwelve/keccak/armv6m/KeccakSpongeWidth1600.link.c +0 -1
  805. data/ext/digest/kangarootwelve/keccak/armv6m/PlSnP-Fallback.inc +0 -287
  806. data/ext/digest/kangarootwelve/keccak/armv7a/KangarooTwelve.link.c +0 -1
  807. data/ext/digest/kangarootwelve/keccak/armv7a/KeccakDuplexWidth1600.link.c +0 -1
  808. data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-SnP.h +0 -37
  809. data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-armv7a-le-neon-gcc.s +0 -826
  810. data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-inplace-pl2-armv7a-neon-le-gcc.s +0 -1245
  811. data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-times2-SnP.h +0 -38
  812. data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-times4-SnP.h +0 -45
  813. data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-times4-on2.c +0 -38
  814. data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-times8-SnP.h +0 -45
  815. data/ext/digest/kangarootwelve/keccak/armv7a/KeccakP-1600-times8-on2.c +0 -38
  816. data/ext/digest/kangarootwelve/keccak/armv7a/KeccakSpongeWidth1600.link.c +0 -1
  817. data/ext/digest/kangarootwelve/keccak/armv7a/PlSnP-Fallback.inc +0 -287
  818. data/ext/digest/kangarootwelve/keccak/armv7m/KangarooTwelve.link.c +0 -1
  819. data/ext/digest/kangarootwelve/keccak/armv7m/KeccakDuplexWidth1600.link.c +0 -1
  820. data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-SnP.h +0 -36
  821. data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-inplace-32bi-armv7m-le-gcc.s +0 -1170
  822. data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-times2-SnP.h +0 -45
  823. data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-times2-on1.c +0 -37
  824. data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-times4-SnP.h +0 -45
  825. data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-times4-on1.c +0 -37
  826. data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-times8-SnP.h +0 -45
  827. data/ext/digest/kangarootwelve/keccak/armv7m/KeccakP-1600-times8-on1.c +0 -37
  828. data/ext/digest/kangarootwelve/keccak/armv7m/KeccakSpongeWidth1600.link.c +0 -1
  829. data/ext/digest/kangarootwelve/keccak/armv7m/PlSnP-Fallback.inc +0 -287
  830. data/ext/digest/kangarootwelve/keccak/armv8a/KangarooTwelve.link.c +0 -1
  831. data/ext/digest/kangarootwelve/keccak/armv8a/KeccakDuplexWidth1600.link.c +0 -1
  832. data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-SnP.h +0 -28
  833. data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-armv8a-neon.s +0 -537
  834. data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-times2-SnP.h +0 -45
  835. data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-times2-on1.c +0 -37
  836. data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-times4-SnP.h +0 -45
  837. data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-times4-on1.c +0 -37
  838. data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-times8-SnP.h +0 -45
  839. data/ext/digest/kangarootwelve/keccak/armv8a/KeccakP-1600-times8-on1.c +0 -37
  840. data/ext/digest/kangarootwelve/keccak/armv8a/KeccakSpongeWidth1600.link.c +0 -1
  841. data/ext/digest/kangarootwelve/keccak/armv8a/PlSnP-Fallback.inc +0 -287
  842. data/ext/digest/kangarootwelve/keccak/asmx86-64/KangarooTwelve.link.c +0 -1
  843. data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakDuplexWidth1600.link.c +0 -1
  844. data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-SnP.h +0 -37
  845. data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-times2-SnP.h +0 -45
  846. data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-times2-on1.c +0 -37
  847. data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-times4-SnP.h +0 -45
  848. data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-times4-on1.c +0 -37
  849. data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-times8-SnP.h +0 -45
  850. data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-times8-on1.c +0 -37
  851. data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakP-1600-x86-64-gas.s +0 -1190
  852. data/ext/digest/kangarootwelve/keccak/asmx86-64/KeccakSpongeWidth1600.link.c +0 -1
  853. data/ext/digest/kangarootwelve/keccak/asmx86-64/PlSnP-Fallback.inc +0 -287
  854. data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KangarooTwelve.link.c +0 -1
  855. data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakDuplexWidth1600.link.c +0 -1
  856. data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-SnP.h +0 -37
  857. data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-times2-SnP.h +0 -45
  858. data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-times2-on1.c +0 -37
  859. data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-times4-SnP.h +0 -45
  860. data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-times4-on1.c +0 -37
  861. data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-times8-SnP.h +0 -45
  862. data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-times8-on1.c +0 -37
  863. data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakP-1600-x86-64-shld-gas.s +0 -1190
  864. data/ext/digest/kangarootwelve/keccak/asmx86-64shld/KeccakSpongeWidth1600.link.c +0 -1
  865. data/ext/digest/kangarootwelve/keccak/asmx86-64shld/PlSnP-Fallback.inc +0 -287
  866. data/ext/digest/kangarootwelve/keccak/avr8/KangarooTwelve.link.c +0 -1
  867. data/ext/digest/kangarootwelve/keccak/avr8/KeccakDuplexWidth1600.link.c +0 -1
  868. data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-SnP.h +0 -37
  869. data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-avr8-fast.s +0 -1116
  870. data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-times2-SnP.h +0 -45
  871. data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-times2-on1.c +0 -37
  872. data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-times4-SnP.h +0 -45
  873. data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-times4-on1.c +0 -37
  874. data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-times8-SnP.h +0 -45
  875. data/ext/digest/kangarootwelve/keccak/avr8/KeccakP-1600-times8-on1.c +0 -37
  876. data/ext/digest/kangarootwelve/keccak/avr8/KeccakSpongeWidth1600.link.c +0 -1
  877. data/ext/digest/kangarootwelve/keccak/avr8/PlSnP-Fallback.inc +0 -287
  878. data/ext/digest/kangarootwelve/keccak/bulldozer/KangarooTwelve.link.c +0 -1
  879. data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakDuplexWidth1600.link.c +0 -1
  880. data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-SnP.h +0 -39
  881. data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-XOP.c +0 -473
  882. data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-times2-SIMD128.c +0 -954
  883. data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-times2-SnP.h +0 -47
  884. data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-times4-SnP.h +0 -45
  885. data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-times4-on2.c +0 -38
  886. data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-times8-SnP.h +0 -45
  887. data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-times8-on2.c +0 -38
  888. data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakP-1600-unrolling.macros +0 -302
  889. data/ext/digest/kangarootwelve/keccak/bulldozer/KeccakSpongeWidth1600.link.c +0 -1
  890. data/ext/digest/kangarootwelve/keccak/bulldozer/PlSnP-Fallback.inc +0 -287
  891. data/ext/digest/kangarootwelve/keccak/bulldozer/SnP-Relaned.h +0 -140
  892. data/ext/digest/kangarootwelve/keccak/common/KangarooTwelve.c +0 -271
  893. data/ext/digest/kangarootwelve/keccak/common/KangarooTwelve.h +0 -89
  894. data/ext/digest/kangarootwelve/keccak/common/KeccakDuplex-common.h +0 -37
  895. data/ext/digest/kangarootwelve/keccak/common/KeccakDuplex.inc +0 -192
  896. data/ext/digest/kangarootwelve/keccak/common/KeccakDuplexWidth1600.c +0 -34
  897. data/ext/digest/kangarootwelve/keccak/common/KeccakDuplexWidth1600.h +0 -25
  898. data/ext/digest/kangarootwelve/keccak/common/KeccakSponge-common.h +0 -35
  899. data/ext/digest/kangarootwelve/keccak/common/KeccakSponge.inc +0 -311
  900. data/ext/digest/kangarootwelve/keccak/common/KeccakSpongeWidth1600.c +0 -54
  901. data/ext/digest/kangarootwelve/keccak/common/KeccakSpongeWidth1600.h +0 -31
  902. data/ext/digest/kangarootwelve/keccak/common/Phases.h +0 -22
  903. data/ext/digest/kangarootwelve/keccak/common/align.h +0 -32
  904. data/ext/digest/kangarootwelve/keccak/common/brg_endian.h +0 -142
  905. data/ext/digest/kangarootwelve/keccak/compact/KangarooTwelve.link.c +0 -1
  906. data/ext/digest/kangarootwelve/keccak/compact/KeccakDuplexWidth1600.link.c +0 -1
  907. data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-SnP.h +0 -35
  908. data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-compact64.c +0 -416
  909. data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-times2-SnP.h +0 -45
  910. data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-times2-on1.c +0 -37
  911. data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-times4-SnP.h +0 -45
  912. data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-times4-on1.c +0 -37
  913. data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-times8-SnP.h +0 -45
  914. data/ext/digest/kangarootwelve/keccak/compact/KeccakP-1600-times8-on1.c +0 -37
  915. data/ext/digest/kangarootwelve/keccak/compact/KeccakSpongeWidth1600.link.c +0 -1
  916. data/ext/digest/kangarootwelve/keccak/compact/PlSnP-Fallback.inc +0 -287
  917. data/ext/digest/kangarootwelve/keccak/compact/SnP-Relaned.h +0 -140
  918. data/ext/digest/kangarootwelve/keccak/generic32/KangarooTwelve.link.c +0 -1
  919. data/ext/digest/kangarootwelve/keccak/generic32/KeccakDuplexWidth1600.link.c +0 -1
  920. data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-SnP.h +0 -38
  921. data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-inplace32BI.c +0 -1162
  922. data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-times2-SnP.h +0 -45
  923. data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-times2-on1.c +0 -37
  924. data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-times4-SnP.h +0 -45
  925. data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-times4-on1.c +0 -37
  926. data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-times8-SnP.h +0 -45
  927. data/ext/digest/kangarootwelve/keccak/generic32/KeccakP-1600-times8-on1.c +0 -37
  928. data/ext/digest/kangarootwelve/keccak/generic32/KeccakSpongeWidth1600.link.c +0 -1
  929. data/ext/digest/kangarootwelve/keccak/generic32/PlSnP-Fallback.inc +0 -287
  930. data/ext/digest/kangarootwelve/keccak/generic32/SnP-Relaned.h +0 -140
  931. data/ext/digest/kangarootwelve/keccak/generic32lc/KangarooTwelve.link.c +0 -1
  932. data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakDuplexWidth1600.link.c +0 -1
  933. data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-SnP.h +0 -38
  934. data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-inplace32BI.c +0 -1162
  935. data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-times2-SnP.h +0 -45
  936. data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-times2-on1.c +0 -37
  937. data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-times4-SnP.h +0 -45
  938. data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-times4-on1.c +0 -37
  939. data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-times8-SnP.h +0 -45
  940. data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakP-1600-times8-on1.c +0 -37
  941. data/ext/digest/kangarootwelve/keccak/generic32lc/KeccakSpongeWidth1600.link.c +0 -1
  942. data/ext/digest/kangarootwelve/keccak/generic32lc/PlSnP-Fallback.inc +0 -287
  943. data/ext/digest/kangarootwelve/keccak/generic32lc/SnP-Relaned.h +0 -140
  944. data/ext/digest/kangarootwelve/keccak/generic64/KangarooTwelve.link.c +0 -1
  945. data/ext/digest/kangarootwelve/keccak/generic64/KeccakDuplexWidth1600.link.c +0 -1
  946. data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-64.macros +0 -2195
  947. data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-SnP.h +0 -49
  948. data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-opt64.c +0 -541
  949. data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-times2-SnP.h +0 -45
  950. data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-times2-on1.c +0 -37
  951. data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-times4-SnP.h +0 -45
  952. data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-times4-on1.c +0 -37
  953. data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-times8-SnP.h +0 -45
  954. data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-times8-on1.c +0 -37
  955. data/ext/digest/kangarootwelve/keccak/generic64/KeccakP-1600-unrolling.macros +0 -302
  956. data/ext/digest/kangarootwelve/keccak/generic64/KeccakSpongeWidth1600.link.c +0 -1
  957. data/ext/digest/kangarootwelve/keccak/generic64/PlSnP-Fallback.inc +0 -287
  958. data/ext/digest/kangarootwelve/keccak/generic64/SnP-Relaned.h +0 -140
  959. data/ext/digest/kangarootwelve/keccak/generic64lc/KangarooTwelve.link.c +0 -1
  960. data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakDuplexWidth1600.link.c +0 -1
  961. data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-64.macros +0 -2195
  962. data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-SnP.h +0 -49
  963. data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-opt64.c +0 -541
  964. data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-times2-SnP.h +0 -45
  965. data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-times2-on1.c +0 -37
  966. data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-times4-SnP.h +0 -45
  967. data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-times4-on1.c +0 -37
  968. data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-times8-SnP.h +0 -45
  969. data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-times8-on1.c +0 -37
  970. data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakP-1600-unrolling.macros +0 -302
  971. data/ext/digest/kangarootwelve/keccak/generic64lc/KeccakSpongeWidth1600.link.c +0 -1
  972. data/ext/digest/kangarootwelve/keccak/generic64lc/PlSnP-Fallback.inc +0 -287
  973. data/ext/digest/kangarootwelve/keccak/generic64lc/SnP-Relaned.h +0 -140
  974. data/ext/digest/kangarootwelve/keccak/haswell/KangarooTwelve.link.c +0 -1
  975. data/ext/digest/kangarootwelve/keccak/haswell/KeccakDuplexWidth1600.link.c +0 -1
  976. data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-AVX2.s +0 -993
  977. data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-SnP.h +0 -41
  978. data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-times2-SIMD128.c +0 -954
  979. data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-times2-SnP.h +0 -47
  980. data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-times4-SIMD256.c +0 -1303
  981. data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-times4-SnP.h +0 -53
  982. data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-times8-SnP.h +0 -45
  983. data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-times8-on4.c +0 -38
  984. data/ext/digest/kangarootwelve/keccak/haswell/KeccakP-1600-unrolling.macros +0 -302
  985. data/ext/digest/kangarootwelve/keccak/haswell/KeccakSpongeWidth1600.link.c +0 -1
  986. data/ext/digest/kangarootwelve/keccak/haswell/PlSnP-Fallback.inc +0 -287
  987. data/ext/digest/kangarootwelve/keccak/haswell/SIMD128-config.h +0 -8
  988. data/ext/digest/kangarootwelve/keccak/nehalem/KangarooTwelve.link.c +0 -1
  989. data/ext/digest/kangarootwelve/keccak/nehalem/KeccakDuplexWidth1600.link.c +0 -1
  990. data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-64.macros +0 -2195
  991. data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-SnP.h +0 -49
  992. data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-opt64-config.h +0 -7
  993. data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-opt64.c +0 -541
  994. data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-times2-SIMD128.c +0 -954
  995. data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-times2-SnP.h +0 -47
  996. data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-times4-SnP.h +0 -45
  997. data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-times4-on2.c +0 -38
  998. data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-times8-SnP.h +0 -45
  999. data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-times8-on2.c +0 -38
  1000. data/ext/digest/kangarootwelve/keccak/nehalem/KeccakP-1600-unrolling.macros +0 -302
  1001. data/ext/digest/kangarootwelve/keccak/nehalem/KeccakSpongeWidth1600.link.c +0 -1
  1002. data/ext/digest/kangarootwelve/keccak/nehalem/PlSnP-Fallback.inc +0 -287
  1003. data/ext/digest/kangarootwelve/keccak/nehalem/SIMD128-config.h +0 -8
  1004. data/ext/digest/kangarootwelve/keccak/nehalem/SnP-Relaned.h +0 -140
  1005. data/ext/digest/kangarootwelve/keccak/reference/KangarooTwelve.link.c +0 -1
  1006. data/ext/digest/kangarootwelve/keccak/reference/KeccakDuplexWidth1600.link.c +0 -1
  1007. data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-SnP.h +0 -41
  1008. data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-reference.c +0 -424
  1009. data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-reference.h +0 -20
  1010. data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-times2-SnP.h +0 -45
  1011. data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-times2-on1.c +0 -37
  1012. data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-times4-SnP.h +0 -45
  1013. data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-times4-on1.c +0 -37
  1014. data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-times8-SnP.h +0 -45
  1015. data/ext/digest/kangarootwelve/keccak/reference/KeccakP-1600-times8-on1.c +0 -37
  1016. data/ext/digest/kangarootwelve/keccak/reference/KeccakSpongeWidth1600.link.c +0 -1
  1017. data/ext/digest/kangarootwelve/keccak/reference/PlSnP-Fallback.inc +0 -287
  1018. data/ext/digest/kangarootwelve/keccak/reference/displayIntermediateValues.c +0 -176
  1019. data/ext/digest/kangarootwelve/keccak/reference/displayIntermediateValues.h +0 -29
  1020. data/ext/digest/kangarootwelve/keccak/reference32bits/KangarooTwelve.link.c +0 -1
  1021. data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakDuplexWidth1600.link.c +0 -1
  1022. data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-SnP.h +0 -41
  1023. data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-reference.h +0 -20
  1024. data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-reference32BI.c +0 -612
  1025. data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-times2-SnP.h +0 -45
  1026. data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-times2-on1.c +0 -37
  1027. data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-times4-SnP.h +0 -45
  1028. data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-times4-on1.c +0 -37
  1029. data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-times8-SnP.h +0 -45
  1030. data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakP-1600-times8-on1.c +0 -37
  1031. data/ext/digest/kangarootwelve/keccak/reference32bits/KeccakSpongeWidth1600.link.c +0 -1
  1032. data/ext/digest/kangarootwelve/keccak/reference32bits/PlSnP-Fallback.inc +0 -287
  1033. data/ext/digest/kangarootwelve/keccak/reference32bits/displayIntermediateValues.c +0 -176
  1034. data/ext/digest/kangarootwelve/keccak/reference32bits/displayIntermediateValues.h +0 -29
  1035. data/ext/digest/kangarootwelve/keccak/sandybridge/KangarooTwelve.link.c +0 -1
  1036. data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakDuplexWidth1600.link.c +0 -1
  1037. data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-64.macros +0 -2195
  1038. data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-SnP.h +0 -49
  1039. data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-opt64.c +0 -541
  1040. data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-times2-SIMD128.c +0 -954
  1041. data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-times2-SnP.h +0 -47
  1042. data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-times4-SnP.h +0 -45
  1043. data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-times4-on2.c +0 -38
  1044. data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-times8-SnP.h +0 -45
  1045. data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-times8-on2.c +0 -38
  1046. data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakP-1600-unrolling.macros +0 -302
  1047. data/ext/digest/kangarootwelve/keccak/sandybridge/KeccakSpongeWidth1600.link.c +0 -1
  1048. data/ext/digest/kangarootwelve/keccak/sandybridge/PlSnP-Fallback.inc +0 -287
  1049. data/ext/digest/kangarootwelve/keccak/sandybridge/SIMD128-config.h +0 -8
  1050. data/ext/digest/kangarootwelve/keccak/sandybridge/SnP-Relaned.h +0 -140
  1051. data/ext/digest/kangarootwelve/keccak/skylakex/KangarooTwelve.link.c +0 -1
  1052. data/ext/digest/kangarootwelve/keccak/skylakex/KeccakDuplexWidth1600.link.c +0 -1
  1053. data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-AVX512.c +0 -621
  1054. data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-SnP.h +0 -42
  1055. data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-times2-SIMD512.c +0 -852
  1056. data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-times2-SnP.h +0 -49
  1057. data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-times4-SIMD512.c +0 -883
  1058. data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-times4-SnP.h +0 -49
  1059. data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-times8-SIMD512.c +0 -1473
  1060. data/ext/digest/kangarootwelve/keccak/skylakex/KeccakP-1600-times8-SnP.h +0 -53
  1061. data/ext/digest/kangarootwelve/keccak/skylakex/KeccakSpongeWidth1600.link.c +0 -1
@@ -0,0 +1,1100 @@
1
+ # The eXtended Keccak Code Package (XKCP)
2
+ # https://github.com/XKCP/XKCP
3
+ #
4
+ # Copyright (c) 2006-2017, CRYPTOGAMS by <appro@openssl.org>
5
+ # Copyright (c) 2017 Ronny Van Keer
6
+ # All rights reserved.
7
+ #
8
+ # The source code in this file is licensed under the CRYPTOGAMS license.
9
+ # For further details see http://www.openssl.org/~appro/cryptogams/.
10
+ #
11
+ # Notes:
12
+ # The code for the permutation (__KeccakF1600) was generated with
13
+ # Andy Polyakov's keccak1600-avx2.pl from the CRYPTOGAMS project
14
+ # (https://github.com/dot-asm/cryptogams/blob/master/x86_64/keccak1600-avx2.pl).
15
+ # The rest of the code was written by Ronny Van Keer.
16
+ # Adaptations for macOS by Stéphane Léon.
17
+ # Adaptations for mingw-w64 (changes macOS too) by Jorrit Jongma.
18
+
19
+ .text
20
+
21
+ # -----------------------------------------------------------------------------
22
+ #
23
+ # void KeccakP1600_Initialize(void *state);
24
+ #
25
+ .globl KeccakP1600_Initialize
26
+ .globl _KeccakP1600_Initialize
27
+ .ifndef old_gas_syntax
28
+ .type KeccakP1600_Initialize,@function
29
+ .endif
30
+ KeccakP1600_Initialize:
31
+ _KeccakP1600_Initialize:
32
+ .balign 32
33
+ vpxor %ymm0,%ymm0,%ymm0
34
+ vmovdqu %ymm0,0*32(%rdi)
35
+ vmovdqu %ymm0,1*32(%rdi)
36
+ vmovdqu %ymm0,2*32(%rdi)
37
+ vmovdqu %ymm0,3*32(%rdi)
38
+ vmovdqu %ymm0,4*32(%rdi)
39
+ vmovdqu %ymm0,5*32(%rdi)
40
+ movq $0,6*32(%rdi)
41
+ ret
42
+ .ifndef old_gas_syntax
43
+ .size KeccakP1600_Initialize,.-KeccakP1600_Initialize
44
+ .endif
45
+
46
+ # -----------------------------------------------------------------------------
47
+ #
48
+ # void KeccakP1600_AddByte(void *state, unsigned char data, unsigned int offset);
49
+ # %rdi %rsi %rdx
50
+ #
51
+ .globl KeccakP1600_AddByte
52
+ .globl _KeccakP1600_AddByte
53
+ .ifndef old_gas_syntax
54
+ .type KeccakP1600_AddByte,@function
55
+ .endif
56
+ KeccakP1600_AddByte:
57
+ _KeccakP1600_AddByte:
58
+ .balign 32
59
+ mov %rdx, %rax
60
+ and $7, %rax
61
+ and $0xFFFFFFF8, %edx
62
+ lea mapState(%rip), %r9
63
+ mov (%r9, %rdx), %rdx
64
+ add %rdx, %rdi
65
+ add %rax, %rdi
66
+ xorb %sil, (%rdi)
67
+ ret
68
+ .ifndef old_gas_syntax
69
+ .size KeccakP1600_AddByte,.-KeccakP1600_AddByte
70
+ .endif
71
+
72
+ # -----------------------------------------------------------------------------
73
+ #
74
+ # void KeccakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
75
+ # %rdi %rsi %rdx %rcx
76
+ #
77
+ .globl KeccakP1600_AddBytes
78
+ .globl _KeccakP1600_AddBytes
79
+ .ifndef old_gas_syntax
80
+ .type KeccakP1600_AddBytes,@function
81
+ .endif
82
+ KeccakP1600_AddBytes:
83
+ _KeccakP1600_AddBytes:
84
+ .balign 32
85
+ cmp $0, %rcx
86
+ jz KeccakP1600_AddBytes_Exit
87
+ mov %rdx, %rax # rax offset in lane
88
+ and $0xFFFFFFF8, %edx # rdx pointer into state index mapper
89
+ lea mapState(%rip), %r9
90
+ add %r9, %rdx
91
+ and $7, %rax
92
+ jz KeccakP1600_AddBytes_LaneAlignedCheck
93
+ mov $8, %r9 # r9 is (max) length of incomplete lane
94
+ sub %rax, %r9
95
+ cmp %rcx, %r9
96
+ cmovae %rcx, %r9
97
+ sub %r9, %rcx # length -= length of incomplete lane
98
+ add (%rdx), %rax # rax = pointer to state lane
99
+ add $8, %rdx
100
+ add %rdi, %rax
101
+ KeccakP1600_AddBytes_NotAlignedLoop:
102
+ mov (%rsi), %r8b
103
+ inc %rsi
104
+ xorb %r8b, (%rax)
105
+ inc %rax
106
+ dec %r9
107
+ jnz KeccakP1600_AddBytes_NotAlignedLoop
108
+ jmp KeccakP1600_AddBytes_LaneAlignedCheck
109
+ KeccakP1600_AddBytes_LaneAlignedLoop:
110
+ mov (%rsi), %r8
111
+ add $8, %rsi
112
+ mov (%rdx), %rax
113
+ add $8, %rdx
114
+ add %rdi, %rax
115
+ xor %r8, (%rax)
116
+ KeccakP1600_AddBytes_LaneAlignedCheck:
117
+ sub $8, %rcx
118
+ jnc KeccakP1600_AddBytes_LaneAlignedLoop
119
+ KeccakP1600_AddBytes_LastIncompleteLane:
120
+ add $8, %rcx
121
+ jz KeccakP1600_AddBytes_Exit
122
+ mov (%rdx), %rax
123
+ add %rdi, %rax
124
+ KeccakP1600_AddBytes_LastIncompleteLaneLoop:
125
+ mov (%rsi), %r8b
126
+ inc %rsi
127
+ xor %r8b, (%rax)
128
+ inc %rax
129
+ dec %rcx
130
+ jnz KeccakP1600_AddBytes_LastIncompleteLaneLoop
131
+ KeccakP1600_AddBytes_Exit:
132
+ ret
133
+ .ifndef old_gas_syntax
134
+ .size KeccakP1600_AddBytes,.-KeccakP1600_AddBytes
135
+ .endif
136
+
137
+ # -----------------------------------------------------------------------------
138
+ #
139
+ # void KeccakP1600_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
140
+ # %rdi %rsi %rdx %rcx
141
+ #
142
+ .globl KeccakP1600_OverwriteBytes
143
+ .globl _KeccakP1600_OverwriteBytes
144
+ .ifndef old_gas_syntax
145
+ .type KeccakP1600_OverwriteBytes,@function
146
+ .endif
147
+ KeccakP1600_OverwriteBytes:
148
+ _KeccakP1600_OverwriteBytes:
149
+ .balign 32
150
+ cmp $0, %rcx
151
+ jz KeccakP1600_OverwriteBytes_Exit
152
+ mov %rdx, %rax # rax offset in lane
153
+ and $0xFFFFFFF8, %edx # rdx pointer into state index mapper
154
+ lea mapState(%rip), %r9
155
+ add %r9, %rdx
156
+ and $7, %rax
157
+ jz KeccakP1600_OverwriteBytes_LaneAlignedCheck
158
+ mov $8, %r9 # r9 is (max) length of incomplete lane
159
+ sub %rax, %r9
160
+ cmp %rcx, %r9
161
+ cmovae %rcx, %r9
162
+ sub %r9, %rcx # length -= length of incomplete lane
163
+ add (%rdx), %rax # rax = pointer to state lane
164
+ add $8, %rdx
165
+ add %rdi, %rax
166
+ KeccakP1600_OverwriteBytes_NotAlignedLoop:
167
+ mov (%rsi), %r8b
168
+ inc %rsi
169
+ mov %r8b, (%rax)
170
+ inc %rax
171
+ dec %r9
172
+ jnz KeccakP1600_OverwriteBytes_NotAlignedLoop
173
+ jmp KeccakP1600_OverwriteBytes_LaneAlignedCheck
174
+ KeccakP1600_OverwriteBytes_LaneAlignedLoop:
175
+ mov (%rsi), %r8
176
+ add $8, %rsi
177
+ mov (%rdx), %rax
178
+ add $8, %rdx
179
+ add %rdi, %rax
180
+ mov %r8, (%rax)
181
+ KeccakP1600_OverwriteBytes_LaneAlignedCheck:
182
+ sub $8, %rcx
183
+ jnc KeccakP1600_OverwriteBytes_LaneAlignedLoop
184
+ KeccakP1600_OverwriteBytes_LastIncompleteLane:
185
+ add $8, %rcx
186
+ jz KeccakP1600_OverwriteBytes_Exit
187
+ mov (%rdx), %rax
188
+ add %rdi, %rax
189
+ KeccakP1600_OverwriteBytes_LastIncompleteLaneLoop:
190
+ mov (%rsi), %r8b
191
+ inc %rsi
192
+ mov %r8b, (%rax)
193
+ inc %rax
194
+ dec %rcx
195
+ jnz KeccakP1600_OverwriteBytes_LastIncompleteLaneLoop
196
+ KeccakP1600_OverwriteBytes_Exit:
197
+ ret
198
+ .ifndef old_gas_syntax
199
+ .size KeccakP1600_OverwriteBytes,.-KeccakP1600_OverwriteBytes
200
+ .endif
201
+
202
+ # -----------------------------------------------------------------------------
203
+ #
204
+ # void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount);
205
+ # %rdi %rsi
206
+ #
207
+ .globl KeccakP1600_OverwriteWithZeroes
208
+ .globl _KeccakP1600_OverwriteWithZeroes
209
+ .ifndef old_gas_syntax
210
+ .type KeccakP1600_OverwriteWithZeroes,@function
211
+ .endif
212
+ KeccakP1600_OverwriteWithZeroes:
213
+ _KeccakP1600_OverwriteWithZeroes:
214
+ .balign 32
215
+ cmp $0, %rsi
216
+ jz KeccakP1600_OverwriteWithZeroes_Exit
217
+ lea mapState(%rip), %rdx # rdx pointer into state index mapper
218
+ jmp KeccakP1600_OverwriteWithZeroes_LaneAlignedCheck
219
+ KeccakP1600_OverwriteWithZeroes_LaneAlignedLoop:
220
+ mov (%rdx), %rax
221
+ add $8, %rdx
222
+ add %rdi, %rax
223
+ movq $0, (%rax)
224
+ KeccakP1600_OverwriteWithZeroes_LaneAlignedCheck:
225
+ sub $8, %rsi
226
+ jnc KeccakP1600_OverwriteWithZeroes_LaneAlignedLoop
227
+ KeccakP1600_OverwriteWithZeroes_LastIncompleteLane:
228
+ add $8, %rsi
229
+ jz KeccakP1600_OverwriteWithZeroes_Exit
230
+ mov (%rdx), %rax
231
+ add %rdi, %rax
232
+ KeccakP1600_OverwriteWithZeroes_LastIncompleteLaneLoop:
233
+ movb $0, (%rax)
234
+ inc %rax
235
+ dec %rsi
236
+ jnz KeccakP1600_OverwriteWithZeroes_LastIncompleteLaneLoop
237
+ KeccakP1600_OverwriteWithZeroes_Exit:
238
+ ret
239
+ .ifndef old_gas_syntax
240
+ .size KeccakP1600_OverwriteWithZeroes,.-KeccakP1600_OverwriteWithZeroes
241
+ .endif
242
+
243
+ # -----------------------------------------------------------------------------
244
+ #
245
+ # void KeccakP1600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned int length);
246
+ # %rdi %rsi %rdx %rcx
247
+ #
248
+ .globl KeccakP1600_ExtractBytes
249
+ .globl _KeccakP1600_ExtractBytes
250
+ .ifndef old_gas_syntax
251
+ .type KeccakP1600_ExtractBytes,@function
252
+ .endif
253
+ KeccakP1600_ExtractBytes:
254
+ _KeccakP1600_ExtractBytes:
255
+ .balign 32
256
+ push %rbx
257
+ cmp $0, %rcx
258
+ jz KeccakP1600_ExtractBytes_Exit
259
+ mov %rdx, %rax # rax offset in lane
260
+ and $0xFFFFFFF8, %edx # rdx pointer into state index mapper
261
+ lea mapState(%rip), %r9
262
+ add %r9, %rdx
263
+ and $7, %rax
264
+ jz KeccakP1600_ExtractBytes_LaneAlignedCheck
265
+ mov $8, %rbx # rbx is (max) length of incomplete lane
266
+ sub %rax, %rbx
267
+ cmp %rcx, %rbx
268
+ cmovae %rcx, %rbx
269
+ sub %rbx, %rcx # length -= length of incomplete lane
270
+ mov (%rdx), %r9
271
+ add $8, %rdx
272
+ add %rdi, %r9
273
+ add %rax, %r9
274
+ KeccakP1600_ExtractBytes_NotAlignedLoop:
275
+ mov (%r9), %r8b
276
+ inc %r9
277
+ mov %r8b, (%rsi)
278
+ inc %rsi
279
+ dec %rbx
280
+ jnz KeccakP1600_ExtractBytes_NotAlignedLoop
281
+ jmp KeccakP1600_ExtractBytes_LaneAlignedCheck
282
+ KeccakP1600_ExtractBytes_LaneAlignedLoop:
283
+ mov (%rdx), %rax
284
+ add $8, %rdx
285
+ add %rdi, %rax
286
+ mov (%rax), %r8
287
+ mov %r8, (%rsi)
288
+ add $8, %rsi
289
+ KeccakP1600_ExtractBytes_LaneAlignedCheck:
290
+ sub $8, %rcx
291
+ jnc KeccakP1600_ExtractBytes_LaneAlignedLoop
292
+ KeccakP1600_ExtractBytes_LastIncompleteLane:
293
+ add $8, %rcx
294
+ jz KeccakP1600_ExtractBytes_Exit
295
+ mov (%rdx), %rax
296
+ add %rdi, %rax
297
+ mov (%rax), %r8
298
+ KeccakP1600_ExtractBytes_LastIncompleteLaneLoop:
299
+ mov %r8b, (%rsi)
300
+ shr $8, %r8
301
+ inc %rsi
302
+ dec %rcx
303
+ jnz KeccakP1600_ExtractBytes_LastIncompleteLaneLoop
304
+ KeccakP1600_ExtractBytes_Exit:
305
+ pop %rbx
306
+ ret
307
+ .ifndef old_gas_syntax
308
+ .size KeccakP1600_ExtractBytes,.-KeccakP1600_ExtractBytes
309
+ .endif
310
+
311
+ # -----------------------------------------------------------------------------
312
+ #
313
+ # void KeccakP1600_ExtractAndAddBytes(const void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
314
+ # %rdi %rsi %rdx %rcx %r8
315
+ #
316
+ .globl KeccakP1600_ExtractAndAddBytes
317
+ .globl _KeccakP1600_ExtractAndAddBytes
318
+ .ifndef old_gas_syntax
319
+ .type KeccakP1600_ExtractAndAddBytes,@function
320
+ .endif
321
+ KeccakP1600_ExtractAndAddBytes:
322
+ _KeccakP1600_ExtractAndAddBytes:
323
+ .balign 32
324
+ push %rbx
325
+ push %r10
326
+ cmp $0, %r8
327
+ jz KeccakP1600_ExtractAndAddBytes_Exit
328
+ mov %rcx, %rax # rax offset in lane
329
+ and $0xFFFFFFF8, %ecx # rcx pointer into state index mapper
330
+ lea mapState(%rip), %r9
331
+ add %r9, %rcx
332
+ and $7, %rax
333
+ jz KeccakP1600_ExtractAndAddBytes_LaneAlignedCheck
334
+ mov $8, %rbx # rbx is (max) length of incomplete lane
335
+ sub %rax, %rbx
336
+ cmp %r8, %rbx
337
+ cmovae %r8, %rbx
338
+ sub %rbx, %r8 # length -= length of incomplete lane
339
+ mov (%rcx), %r9
340
+ add $8, %rcx
341
+ add %rdi, %r9
342
+ add %rax, %r9
343
+ KeccakP1600_ExtractAndAddBytes_NotAlignedLoop:
344
+ mov (%r9), %r10b
345
+ inc %r9
346
+ xor (%rsi), %r10b
347
+ inc %rsi
348
+ mov %r10b, (%rdx)
349
+ inc %rdx
350
+ dec %rbx
351
+ jnz KeccakP1600_ExtractAndAddBytes_NotAlignedLoop
352
+ jmp KeccakP1600_ExtractAndAddBytes_LaneAlignedCheck
353
+ KeccakP1600_ExtractAndAddBytes_LaneAlignedLoop:
354
+ mov (%rcx), %rax
355
+ add $8, %rcx
356
+ add %rdi, %rax
357
+ mov (%rax), %r10
358
+ xor (%rsi), %r10
359
+ add $8, %rsi
360
+ mov %r10, (%rdx)
361
+ add $8, %rdx
362
+ KeccakP1600_ExtractAndAddBytes_LaneAlignedCheck:
363
+ sub $8, %r8
364
+ jnc KeccakP1600_ExtractAndAddBytes_LaneAlignedLoop
365
+ KeccakP1600_ExtractAndAddBytes_LastIncompleteLane:
366
+ add $8, %r8
367
+ jz KeccakP1600_ExtractAndAddBytes_Exit
368
+ mov (%rcx), %rax
369
+ add %rdi, %rax
370
+ mov (%rax), %r10
371
+ KeccakP1600_ExtractAndAddBytes_LastIncompleteLaneLoop:
372
+ xor (%rsi), %r10b
373
+ inc %rsi
374
+ mov %r10b, (%rdx)
375
+ inc %rdx
376
+ shr $8, %r10
377
+ dec %r8
378
+ jnz KeccakP1600_ExtractAndAddBytes_LastIncompleteLaneLoop
379
+ KeccakP1600_ExtractAndAddBytes_Exit:
380
+ pop %r10
381
+ pop %rbx
382
+ ret
383
+ .ifndef old_gas_syntax
384
+ .size KeccakP1600_ExtractAndAddBytes,.-KeccakP1600_ExtractAndAddBytes
385
+ .endif
386
+
387
+ # -----------------------------------------------------------------------------
388
+ #
389
+ # internal
390
+ #
391
+ .ifndef old_gas_syntax
392
+ .type __KeccakF1600,@function
393
+ .endif
394
+ .balign 32
395
+ __KeccakF1600:
396
+ .Loop_avx2:
397
+ ######################################### Theta
398
+ vpshufd $0b01001110,%ymm2,%ymm13
399
+ vpxor %ymm3,%ymm5,%ymm12
400
+ vpxor %ymm6,%ymm4,%ymm9
401
+ vpxor %ymm1,%ymm12,%ymm12
402
+ vpxor %ymm9,%ymm12,%ymm12 # C[1..4]
403
+
404
+ vpermq $0b10010011,%ymm12,%ymm11
405
+ vpxor %ymm2,%ymm13,%ymm13
406
+ vpermq $0b01001110,%ymm13,%ymm7
407
+
408
+ vpsrlq $63,%ymm12,%ymm8
409
+ vpaddq %ymm12,%ymm12,%ymm9
410
+ vpor %ymm9,%ymm8,%ymm8 # ROL64(C[1..4],1)
411
+
412
+ vpermq $0b00111001,%ymm8,%ymm15
413
+ vpxor %ymm11,%ymm8,%ymm14
414
+ vpermq $0b00000000,%ymm14,%ymm14 # D[0..0] = ROL64(C[1],1) ^ C[4]
415
+
416
+ vpxor %ymm0,%ymm13,%ymm13
417
+ vpxor %ymm7,%ymm13,%ymm13 # C[0..0]
418
+
419
+ vpsrlq $63,%ymm13,%ymm7
420
+ vpaddq %ymm13,%ymm13,%ymm8
421
+ vpor %ymm7,%ymm8,%ymm8 # ROL64(C[0..0],1)
422
+
423
+ vpxor %ymm14,%ymm2,%ymm2 # ^= D[0..0]
424
+ vpxor %ymm14,%ymm0,%ymm0 # ^= D[0..0]
425
+
426
+ vpblendd $0b11000000,%ymm8,%ymm15,%ymm15
427
+ vpblendd $0b00000011,%ymm13,%ymm11,%ymm11
428
+ vpxor %ymm11,%ymm15,%ymm15 # D[1..4] = ROL64(C[2..4,0),1) ^ C[0..3]
429
+
430
+ ######################################### Rho + Pi + pre-Chi shuffle
431
+ vpsllvq 0*32-96(%r8),%ymm2,%ymm10
432
+ vpsrlvq 0*32-96(%r9),%ymm2,%ymm2
433
+ vpor %ymm10,%ymm2,%ymm2
434
+
435
+ vpxor %ymm15,%ymm3,%ymm3 # ^= D[1..4] from Theta
436
+ vpsllvq 2*32-96(%r8),%ymm3,%ymm11
437
+ vpsrlvq 2*32-96(%r9),%ymm3,%ymm3
438
+ vpor %ymm11,%ymm3,%ymm3
439
+
440
+ vpxor %ymm15,%ymm4,%ymm4 # ^= D[1..4] from Theta
441
+ vpsllvq 3*32-96(%r8),%ymm4,%ymm12
442
+ vpsrlvq 3*32-96(%r9),%ymm4,%ymm4
443
+ vpor %ymm12,%ymm4,%ymm4
444
+
445
+ vpxor %ymm15,%ymm5,%ymm5 # ^= D[1..4] from Theta
446
+ vpsllvq 4*32-96(%r8),%ymm5,%ymm13
447
+ vpsrlvq 4*32-96(%r9),%ymm5,%ymm5
448
+ vpor %ymm13,%ymm5,%ymm5
449
+
450
+ vpxor %ymm15,%ymm6,%ymm6 # ^= D[1..4] from Theta
451
+ vpermq $0b10001101,%ymm2,%ymm10 # %ymm2 -> future %ymm3
452
+ vpermq $0b10001101,%ymm3,%ymm11 # %ymm3 -> future %ymm4
453
+ vpsllvq 5*32-96(%r8),%ymm6,%ymm14
454
+ vpsrlvq 5*32-96(%r9),%ymm6,%ymm8
455
+ vpor %ymm14,%ymm8,%ymm8 # %ymm6 -> future %ymm1
456
+
457
+ vpxor %ymm15,%ymm1,%ymm1 # ^= D[1..4] from Theta
458
+ vpermq $0b00011011,%ymm4,%ymm12 # %ymm4 -> future %ymm5
459
+ vpermq $0b01110010,%ymm5,%ymm13 # %ymm5 -> future %ymm6
460
+ vpsllvq 1*32-96(%r8),%ymm1,%ymm15
461
+ vpsrlvq 1*32-96(%r9),%ymm1,%ymm9
462
+ vpor %ymm15,%ymm9,%ymm9 # %ymm1 -> future %ymm2
463
+
464
+ ######################################### Chi
465
+ vpsrldq $8,%ymm8,%ymm14
466
+ vpandn %ymm14,%ymm8,%ymm7 # tgting [0][0] [0][0] [0][0] [0][0]
467
+
468
+ vpblendd $0b00001100,%ymm13,%ymm9,%ymm3 # [4][4] [2][0]
469
+ vpblendd $0b00001100,%ymm9,%ymm11,%ymm15 # [4][0] [2][1]
470
+ vpblendd $0b00001100,%ymm11,%ymm10,%ymm5 # [4][2] [2][4]
471
+ vpblendd $0b00001100,%ymm10,%ymm9,%ymm14 # [4][3] [2][0]
472
+ vpblendd $0b00110000,%ymm11,%ymm3,%ymm3 # [1][3] [4][4] [2][0]
473
+ vpblendd $0b00110000,%ymm12,%ymm15,%ymm15 # [1][4] [4][0] [2][1]
474
+ vpblendd $0b00110000,%ymm9,%ymm5,%ymm5 # [1][0] [4][2] [2][4]
475
+ vpblendd $0b00110000,%ymm13,%ymm14,%ymm14 # [1][1] [4][3] [2][0]
476
+ vpblendd $0b11000000,%ymm12,%ymm3,%ymm3 # [3][2] [1][3] [4][4] [2][0]
477
+ vpblendd $0b11000000,%ymm13,%ymm15,%ymm15 # [3][3] [1][4] [4][0] [2][1]
478
+ vpblendd $0b11000000,%ymm13,%ymm5,%ymm5 # [3][3] [1][0] [4][2] [2][4]
479
+ vpblendd $0b11000000,%ymm11,%ymm14,%ymm14 # [3][4] [1][1] [4][3] [2][0]
480
+ vpandn %ymm15,%ymm3,%ymm3 # tgting [3][1] [1][2] [4][3] [2][4]
481
+ vpandn %ymm14,%ymm5,%ymm5 # tgting [3][2] [1][4] [4][1] [2][3]
482
+
483
+ vpblendd $0b00001100,%ymm9,%ymm12,%ymm6 # [4][0] [2][3]
484
+ vpblendd $0b00001100,%ymm12,%ymm10,%ymm15 # [4][1] [2][4]
485
+ vpxor %ymm10,%ymm3,%ymm3
486
+ vpblendd $0b00110000,%ymm10,%ymm6,%ymm6 # [1][2] [4][0] [2][3]
487
+ vpblendd $0b00110000,%ymm11,%ymm15,%ymm15 # [1][3] [4][1] [2][4]
488
+ vpxor %ymm12,%ymm5,%ymm5
489
+ vpblendd $0b11000000,%ymm11,%ymm6,%ymm6 # [3][4] [1][2] [4][0] [2][3]
490
+ vpblendd $0b11000000,%ymm9,%ymm15,%ymm15 # [3][0] [1][3] [4][1] [2][4]
491
+ vpandn %ymm15,%ymm6,%ymm6 # tgting [3][3] [1][1] [4][4] [2][2]
492
+ vpxor %ymm13,%ymm6,%ymm6
493
+
494
+ vpermq $0b00011110,%ymm8,%ymm4 # [0][1] [0][2] [0][4] [0][3]
495
+ vpblendd $0b00110000,%ymm0,%ymm4,%ymm15 # [0][1] [0][0] [0][4] [0][3]
496
+ vpermq $0b00111001,%ymm8,%ymm1 # [0][1] [0][4] [0][3] [0][2]
497
+ vpblendd $0b11000000,%ymm0,%ymm1,%ymm1 # [0][0] [0][4] [0][3] [0][2]
498
+ vpandn %ymm15,%ymm1,%ymm1 # tgting [0][4] [0][3] [0][2] [0][1]
499
+
500
+ vpblendd $0b00001100,%ymm12,%ymm11,%ymm2 # [4][1] [2][1]
501
+ vpblendd $0b00001100,%ymm11,%ymm13,%ymm14 # [4][2] [2][2]
502
+ vpblendd $0b00110000,%ymm13,%ymm2,%ymm2 # [1][1] [4][1] [2][1]
503
+ vpblendd $0b00110000,%ymm10,%ymm14,%ymm14 # [1][2] [4][2] [2][2]
504
+ vpblendd $0b11000000,%ymm10,%ymm2,%ymm2 # [3][1] [1][1] [4][1] [2][1]
505
+ vpblendd $0b11000000,%ymm12,%ymm14,%ymm14 # [3][2] [1][2] [4][2] [2][2]
506
+ vpandn %ymm14,%ymm2,%ymm2 # tgting [3][0] [1][0] [4][0] [2][0]
507
+ vpxor %ymm9,%ymm2,%ymm2
508
+
509
+ vpermq $0b00000000,%ymm7,%ymm7 # [0][0] [0][0] [0][0] [0][0]
510
+ vpermq $0b00011011,%ymm3,%ymm3 # post-Chi shuffle
511
+ vpermq $0b10001101,%ymm5,%ymm5
512
+ vpermq $0b01110010,%ymm6,%ymm6
513
+
514
+ vpblendd $0b00001100,%ymm10,%ymm13,%ymm4 # [4][3] [2][2]
515
+ vpblendd $0b00001100,%ymm13,%ymm12,%ymm14 # [4][4] [2][3]
516
+ vpblendd $0b00110000,%ymm12,%ymm4,%ymm4 # [1][4] [4][3] [2][2]
517
+ vpblendd $0b00110000,%ymm9,%ymm14,%ymm14 # [1][0] [4][4] [2][3]
518
+ vpblendd $0b11000000,%ymm9,%ymm4,%ymm4 # [3][0] [1][4] [4][3] [2][2]
519
+ vpblendd $0b11000000,%ymm10,%ymm14,%ymm14 # [3][1] [1][0] [4][4] [2][3]
520
+ vpandn %ymm14,%ymm4,%ymm4 # tgting [3][4] [1][3] [4][2] [2][1]
521
+
522
+ vpxor %ymm7,%ymm0,%ymm0
523
+ vpxor %ymm8,%ymm1,%ymm1
524
+ vpxor %ymm11,%ymm4,%ymm4
525
+
526
+ ######################################### Iota
527
+ vpxor (%r10),%ymm0,%ymm0
528
+ lea 32(%r10),%r10
529
+
530
+ dec %eax
531
+ jnz .Loop_avx2
532
+ ret
533
+ .ifndef old_gas_syntax
534
+ .size __KeccakF1600,.-__KeccakF1600
535
+ .endif
536
+
537
+ # -----------------------------------------------------------------------------
538
+ #
539
+ # void KeccakP1600_Permute_24rounds(void *state);
540
+ # %rdi
541
+ #
542
+ .globl KeccakP1600_Permute_24rounds
543
+ .globl _KeccakP1600_Permute_24rounds
544
+ .ifndef old_gas_syntax
545
+ .type KeccakP1600_Permute_24rounds,@function
546
+ .endif
547
+ KeccakP1600_Permute_24rounds:
548
+ _KeccakP1600_Permute_24rounds:
549
+ .balign 32
550
+ lea rhotates_left+96(%rip),%r8
551
+ lea rhotates_right+96(%rip),%r9
552
+ lea iotas(%rip),%r10
553
+ mov $24,%eax
554
+ lea 96(%rdi),%rdi
555
+ vzeroupper
556
+ vpbroadcastq -96(%rdi),%ymm0 # load A[5][5]
557
+ vmovdqu 8+32*0-96(%rdi),%ymm1
558
+ vmovdqu 8+32*1-96(%rdi),%ymm2
559
+ vmovdqu 8+32*2-96(%rdi),%ymm3
560
+ vmovdqu 8+32*3-96(%rdi),%ymm4
561
+ vmovdqu 8+32*4-96(%rdi),%ymm5
562
+ vmovdqu 8+32*5-96(%rdi),%ymm6
563
+ call __KeccakF1600
564
+ vmovq %xmm0,-96(%rdi)
565
+ vmovdqu %ymm1,8+32*0-96(%rdi)
566
+ vmovdqu %ymm2,8+32*1-96(%rdi)
567
+ vmovdqu %ymm3,8+32*2-96(%rdi)
568
+ vmovdqu %ymm4,8+32*3-96(%rdi)
569
+ vmovdqu %ymm5,8+32*4-96(%rdi)
570
+ vmovdqu %ymm6,8+32*5-96(%rdi)
571
+ vzeroupper
572
+ ret
573
+ .ifndef old_gas_syntax
574
+ .size KeccakP1600_Permute_24rounds,.-KeccakP1600_Permute_24rounds
575
+ .endif
576
+
577
+ # -----------------------------------------------------------------------------
578
+ #
579
+ # void KeccakP1600_Permute_12rounds(void *state);
580
+ # %rdi
581
+ #
582
+ .globl KeccakP1600_Permute_12rounds
583
+ .globl _KeccakP1600_Permute_12rounds
584
+ .ifndef old_gas_syntax
585
+ .type KeccakP1600_Permute_12rounds,@function
586
+ .endif
587
+ KeccakP1600_Permute_12rounds:
588
+ _KeccakP1600_Permute_12rounds:
589
+ .balign 32
590
+ lea rhotates_left+96(%rip),%r8
591
+ lea rhotates_right+96(%rip),%r9
592
+ lea iotas+12*4*8(%rip),%r10
593
+ mov $12,%eax
594
+ lea 96(%rdi),%rdi
595
+ vzeroupper
596
+ vpbroadcastq -96(%rdi),%ymm0 # load A[5][5]
597
+ vmovdqu 8+32*0-96(%rdi),%ymm1
598
+ vmovdqu 8+32*1-96(%rdi),%ymm2
599
+ vmovdqu 8+32*2-96(%rdi),%ymm3
600
+ vmovdqu 8+32*3-96(%rdi),%ymm4
601
+ vmovdqu 8+32*4-96(%rdi),%ymm5
602
+ vmovdqu 8+32*5-96(%rdi),%ymm6
603
+ call __KeccakF1600
604
+ vmovq %xmm0,-96(%rdi)
605
+ vmovdqu %ymm1,8+32*0-96(%rdi)
606
+ vmovdqu %ymm2,8+32*1-96(%rdi)
607
+ vmovdqu %ymm3,8+32*2-96(%rdi)
608
+ vmovdqu %ymm4,8+32*3-96(%rdi)
609
+ vmovdqu %ymm5,8+32*4-96(%rdi)
610
+ vmovdqu %ymm6,8+32*5-96(%rdi)
611
+ vzeroupper
612
+ ret
613
+ .ifndef old_gas_syntax
614
+ .size KeccakP1600_Permute_12rounds,.-KeccakP1600_Permute_12rounds
615
+ .endif
616
+
617
+ # -----------------------------------------------------------------------------
618
+ #
619
+ # void KeccakP1600_Permute_Nrounds(void *state, unsigned int nrounds);
620
+ # %rdi %rsi
621
+ #
622
+ .globl KeccakP1600_Permute_Nrounds
623
+ .globl _KeccakP1600_Permute_Nrounds
624
+ .ifndef old_gas_syntax
625
+ .type KeccakP1600_Permute_Nrounds,@function
626
+ .endif
627
+ KeccakP1600_Permute_Nrounds:
628
+ _KeccakP1600_Permute_Nrounds:
629
+ .balign 32
630
+ lea rhotates_left+96(%rip),%r8
631
+ lea rhotates_right+96(%rip),%r9
632
+ lea iotas+24*4*8(%rip),%r10
633
+ mov %rsi,%rax
634
+ shl $2+3,%rsi
635
+ sub %rsi, %r10
636
+ lea 96(%rdi),%rdi
637
+ vzeroupper
638
+ vpbroadcastq -96(%rdi),%ymm0 # load A[5][5]
639
+ vmovdqu 8+32*0-96(%rdi),%ymm1
640
+ vmovdqu 8+32*1-96(%rdi),%ymm2
641
+ vmovdqu 8+32*2-96(%rdi),%ymm3
642
+ vmovdqu 8+32*3-96(%rdi),%ymm4
643
+ vmovdqu 8+32*4-96(%rdi),%ymm5
644
+ vmovdqu 8+32*5-96(%rdi),%ymm6
645
+ call __KeccakF1600
646
+ vmovq %xmm0,-96(%rdi)
647
+ vmovdqu %ymm1,8+32*0-96(%rdi)
648
+ vmovdqu %ymm2,8+32*1-96(%rdi)
649
+ vmovdqu %ymm3,8+32*2-96(%rdi)
650
+ vmovdqu %ymm4,8+32*3-96(%rdi)
651
+ vmovdqu %ymm5,8+32*4-96(%rdi)
652
+ vmovdqu %ymm6,8+32*5-96(%rdi)
653
+ vzeroupper
654
+ ret
655
+ .ifndef old_gas_syntax
656
+ .size KeccakP1600_Permute_Nrounds,.-KeccakP1600_Permute_Nrounds
657
+ .endif
658
+
659
+ # -----------------------------------------------------------------------------
660
+ #
661
+ # size_t KeccakF1600_FastLoop_Absorb(void *state, unsigned int laneCount, const unsigned char *data, size_t dataByteLen);
662
+ # %rdi %rsi %rdx %rcx
663
+ #
664
+ .globl KeccakF1600_FastLoop_Absorb
665
+ .globl _KeccakF1600_FastLoop_Absorb
666
+ .ifndef old_gas_syntax
667
+ .type KeccakF1600_FastLoop_Absorb,@function
668
+ .endif
669
+ KeccakF1600_FastLoop_Absorb:
670
+ _KeccakF1600_FastLoop_Absorb:
671
+ .balign 32
672
+ push %rbx
673
+ push %r10
674
+ shr $3, %rcx # rcx = data length in lanes
675
+ mov %rdx, %rbx # rbx = initial data pointer
676
+ cmp %rsi, %rcx
677
+ jb KeccakF1600_FastLoop_Absorb_Exit
678
+ vzeroupper
679
+ cmp $21, %rsi
680
+ jnz KeccakF1600_FastLoop_Absorb_Not21Lanes
681
+ sub $21, %rcx
682
+ lea rhotates_left+96(%rip),%r8
683
+ lea rhotates_right+96(%rip),%r9
684
+ lea 96(%rdi),%rdi
685
+ vpbroadcastq -96(%rdi),%ymm0 # load A[5][5]
686
+ vmovdqu 8+32*0-96(%rdi),%ymm1
687
+ vmovdqu 8+32*1-96(%rdi),%ymm2
688
+ vmovdqu 8+32*2-96(%rdi),%ymm3
689
+ vmovdqu 8+32*3-96(%rdi),%ymm4
690
+ vmovdqu 8+32*4-96(%rdi),%ymm5
691
+ vmovdqu 8+32*5-96(%rdi),%ymm6
692
+ KeccakF1600_FastLoop_Absorb_Loop21Lanes:
693
+ vpbroadcastq (%rdx),%ymm7
694
+ vmovdqu 8(%rdx),%ymm8
695
+
696
+ vmovdqa map2(%rip), %xmm15
697
+ vpcmpeqd %ymm14, %ymm14, %ymm14
698
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm9
699
+
700
+ vmovdqa mask3_21(%rip), %ymm14
701
+ vpxor %ymm10, %ymm10, %ymm10
702
+ vmovdqa map3(%rip), %xmm15
703
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm10
704
+
705
+ vmovdqa mask4_21(%rip), %ymm14
706
+ vpxor %ymm11, %ymm11, %ymm11
707
+ vmovdqa map4(%rip), %xmm15
708
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm11
709
+
710
+ vmovdqa mask5_21(%rip), %ymm14
711
+ vpxor %ymm12, %ymm12, %ymm12
712
+ vmovdqa map5(%rip), %xmm15
713
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm12
714
+
715
+ vmovdqa mask6_21(%rip), %ymm14
716
+ vpxor %ymm13, %ymm13, %ymm13
717
+ vmovdqa map6(%rip), %xmm15
718
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm13
719
+
720
+ vpxor %ymm7,%ymm0,%ymm0
721
+ vpxor %ymm8,%ymm1,%ymm1
722
+ vpxor %ymm9,%ymm2,%ymm2
723
+ vpxor %ymm10,%ymm3,%ymm3
724
+ vpxor %ymm11,%ymm4,%ymm4
725
+ vpxor %ymm12,%ymm5,%ymm5
726
+ vpxor %ymm13,%ymm6,%ymm6
727
+ add $21*8, %rdx
728
+ lea iotas(%rip),%r10
729
+ mov $24,%eax
730
+ call __KeccakF1600
731
+ sub $21, %rcx
732
+ jnc KeccakF1600_FastLoop_Absorb_Loop21Lanes
733
+ KeccakF1600_FastLoop_Absorb_SaveAndExit:
734
+ vmovq %xmm0,-96(%rdi)
735
+ vmovdqu %ymm1,8+32*0-96(%rdi)
736
+ vmovdqu %ymm2,8+32*1-96(%rdi)
737
+ vmovdqu %ymm3,8+32*2-96(%rdi)
738
+ vmovdqu %ymm4,8+32*3-96(%rdi)
739
+ vmovdqu %ymm5,8+32*4-96(%rdi)
740
+ vmovdqu %ymm6,8+32*5-96(%rdi)
741
+ KeccakF1600_FastLoop_Absorb_Exit:
742
+ vzeroupper
743
+ mov %rdx, %rax # return number of bytes processed
744
+ sub %rbx, %rax
745
+ pop %r10
746
+ pop %rbx
747
+ ret
748
+ KeccakF1600_FastLoop_Absorb_Not21Lanes:
749
+ cmp $17, %rsi
750
+ jnz KeccakF1600_FastLoop_Absorb_Not17Lanes
751
+ sub $17, %rcx
752
+ lea rhotates_left+96(%rip),%r8
753
+ lea rhotates_right+96(%rip),%r9
754
+ lea 96(%rdi),%rdi
755
+ vpbroadcastq -96(%rdi),%ymm0 # load A[5][5]
756
+ vmovdqu 8+32*0-96(%rdi),%ymm1
757
+ vmovdqu 8+32*1-96(%rdi),%ymm2
758
+ vmovdqu 8+32*2-96(%rdi),%ymm3
759
+ vmovdqu 8+32*3-96(%rdi),%ymm4
760
+ vmovdqu 8+32*4-96(%rdi),%ymm5
761
+ vmovdqu 8+32*5-96(%rdi),%ymm6
762
+ KeccakF1600_FastLoop_Absorb_Loop17Lanes:
763
+ vpbroadcastq (%rdx),%ymm7
764
+ vmovdqu 8(%rdx),%ymm8
765
+
766
+ vmovdqa mask2_17(%rip), %ymm14
767
+ vpxor %ymm9, %ymm9, %ymm9
768
+ vmovdqa map2(%rip), %xmm15
769
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm9
770
+
771
+ vmovdqa mask3_17(%rip), %ymm14
772
+ vpxor %ymm10, %ymm10, %ymm10
773
+ vmovdqa map3(%rip), %xmm15
774
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm10
775
+
776
+ vmovdqa mask4_17(%rip), %ymm14
777
+ vpxor %ymm11, %ymm11, %ymm11
778
+ vmovdqa map4(%rip), %xmm15
779
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm11
780
+
781
+ vmovdqa mask5_17(%rip), %ymm14
782
+ vpxor %ymm12, %ymm12, %ymm12
783
+ vmovdqa map5(%rip), %xmm15
784
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm12
785
+
786
+ vmovdqa mask6_17(%rip), %ymm14
787
+ vpxor %ymm13, %ymm13, %ymm13
788
+ vmovdqa map6(%rip), %xmm15
789
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm13
790
+
791
+ vpxor %ymm7,%ymm0,%ymm0
792
+ vpxor %ymm8,%ymm1,%ymm1
793
+ vpxor %ymm9,%ymm2,%ymm2
794
+ vpxor %ymm10,%ymm3,%ymm3
795
+ vpxor %ymm11,%ymm4,%ymm4
796
+ vpxor %ymm12,%ymm5,%ymm5
797
+ vpxor %ymm13,%ymm6,%ymm6
798
+ add $17*8, %rdx
799
+ lea iotas(%rip),%r10
800
+ mov $24,%eax
801
+ call __KeccakF1600
802
+ sub $17, %rcx
803
+ jnc KeccakF1600_FastLoop_Absorb_Loop17Lanes
804
+ jmp KeccakF1600_FastLoop_Absorb_SaveAndExit
805
+ KeccakF1600_FastLoop_Absorb_Not17Lanes:
806
+ lea mapState(%rip), %r9
807
+ mov %rsi, %rax
808
+ KeccakF1600_FastLoop_Absorb_LanesAddLoop:
809
+ mov (%rdx), %r8
810
+ add $8, %rdx
811
+ mov (%r9), %r10
812
+ add $8, %r9
813
+ add %rdi, %r10
814
+ xor %r8, (%r10)
815
+ sub $1, %rax
816
+ jnz KeccakF1600_FastLoop_Absorb_LanesAddLoop
817
+ sub %rsi, %rcx
818
+ push %rdi
819
+ push %rsi
820
+ push %rdx
821
+ push %rcx
822
+ .ifdef no_plt
823
+ call KeccakP1600_Permute_24rounds
824
+ .else
825
+ call KeccakP1600_Permute_24rounds@PLT
826
+ .endif
827
+ pop %rcx
828
+ pop %rdx
829
+ pop %rsi
830
+ pop %rdi
831
+ cmp %rsi, %rcx
832
+ jae KeccakF1600_FastLoop_Absorb_Not17Lanes
833
+ jmp KeccakF1600_FastLoop_Absorb_Exit
834
+ .ifndef old_gas_syntax
835
+ .size KeccakF1600_FastLoop_Absorb,.-KeccakF1600_FastLoop_Absorb
836
+ .endif
837
+
838
+ # -----------------------------------------------------------------------------
839
+ #
840
+ # size_t KeccakP1600_12rounds_FastLoop_Absorb(void *state, unsigned int laneCount, const unsigned char *data, size_t dataByteLen);
841
+ # %rdi %rsi %rdx %rcx
842
+ #
843
+ .globl KeccakP1600_12rounds_FastLoop_Absorb
844
+ .globl _KeccakP1600_12rounds_FastLoop_Absorb
845
+ .ifndef old_gas_syntax
846
+ .type KeccakP1600_12rounds_FastLoop_Absorb,@function
847
+ .endif
848
+ KeccakP1600_12rounds_FastLoop_Absorb:
849
+ _KeccakP1600_12rounds_FastLoop_Absorb:
850
+ .balign 32
851
+ push %rbx
852
+ push %r10
853
+ shr $3, %rcx # rcx = data length in lanes
854
+ mov %rdx, %rbx # rbx = initial data pointer
855
+ cmp %rsi, %rcx
856
+ jb KeccakP1600_12rounds_FastLoop_Absorb_Exit
857
+ vzeroupper
858
+ cmp $21, %rsi
859
+ jnz KeccakP1600_12rounds_FastLoop_Absorb_Not21Lanes
860
+ sub $21, %rcx
861
+ lea rhotates_left+96(%rip),%r8
862
+ lea rhotates_right+96(%rip),%r9
863
+ lea 96(%rdi),%rdi
864
+ vpbroadcastq -96(%rdi),%ymm0 # load A[5][5]
865
+ vmovdqu 8+32*0-96(%rdi),%ymm1
866
+ vmovdqu 8+32*1-96(%rdi),%ymm2
867
+ vmovdqu 8+32*2-96(%rdi),%ymm3
868
+ vmovdqu 8+32*3-96(%rdi),%ymm4
869
+ vmovdqu 8+32*4-96(%rdi),%ymm5
870
+ vmovdqu 8+32*5-96(%rdi),%ymm6
871
+ KeccakP1600_12rounds_FastLoop_Absorb_Loop21Lanes:
872
+ vpbroadcastq (%rdx),%ymm7
873
+ vmovdqu 8(%rdx),%ymm8
874
+
875
+ vmovdqa map2(%rip), %xmm15
876
+ vpcmpeqd %ymm14, %ymm14, %ymm14
877
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm9
878
+
879
+ vmovdqa mask3_21(%rip), %ymm14
880
+ vpxor %ymm10, %ymm10, %ymm10
881
+ vmovdqa map3(%rip), %xmm15
882
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm10
883
+
884
+ vmovdqa mask4_21(%rip), %ymm14
885
+ vpxor %ymm11, %ymm11, %ymm11
886
+ vmovdqa map4(%rip), %xmm15
887
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm11
888
+
889
+ vmovdqa mask5_21(%rip), %ymm14
890
+ vpxor %ymm12, %ymm12, %ymm12
891
+ vmovdqa map5(%rip), %xmm15
892
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm12
893
+
894
+ vmovdqa mask6_21(%rip), %ymm14
895
+ vpxor %ymm13, %ymm13, %ymm13
896
+ vmovdqa map6(%rip), %xmm15
897
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm13
898
+
899
+ vpxor %ymm7,%ymm0,%ymm0
900
+ vpxor %ymm8,%ymm1,%ymm1
901
+ vpxor %ymm9,%ymm2,%ymm2
902
+ vpxor %ymm10,%ymm3,%ymm3
903
+ vpxor %ymm11,%ymm4,%ymm4
904
+ vpxor %ymm12,%ymm5,%ymm5
905
+ vpxor %ymm13,%ymm6,%ymm6
906
+ add $21*8, %rdx
907
+ lea iotas+12*4*8(%rip),%r10
908
+ mov $12,%eax
909
+ call __KeccakF1600
910
+ sub $21, %rcx
911
+ jnc KeccakP1600_12rounds_FastLoop_Absorb_Loop21Lanes
912
+ KeccakP1600_12rounds_FastLoop_Absorb_SaveAndExit:
913
+ vmovq %xmm0,-96(%rdi)
914
+ vmovdqu %ymm1,8+32*0-96(%rdi)
915
+ vmovdqu %ymm2,8+32*1-96(%rdi)
916
+ vmovdqu %ymm3,8+32*2-96(%rdi)
917
+ vmovdqu %ymm4,8+32*3-96(%rdi)
918
+ vmovdqu %ymm5,8+32*4-96(%rdi)
919
+ vmovdqu %ymm6,8+32*5-96(%rdi)
920
+ KeccakP1600_12rounds_FastLoop_Absorb_Exit:
921
+ vzeroupper
922
+ mov %rdx, %rax # return number of bytes processed
923
+ sub %rbx, %rax
924
+ pop %r10
925
+ pop %rbx
926
+ ret
927
+ KeccakP1600_12rounds_FastLoop_Absorb_Not21Lanes:
928
+ cmp $17, %rsi
929
+ jnz KeccakP1600_12rounds_FastLoop_Absorb_Not17Lanes
930
+ sub $17, %rcx
931
+ lea rhotates_left+96(%rip),%r8
932
+ lea rhotates_right+96(%rip),%r9
933
+ lea 96(%rdi),%rdi
934
+ vpbroadcastq -96(%rdi),%ymm0 # load A[5][5]
935
+ vmovdqu 8+32*0-96(%rdi),%ymm1
936
+ vmovdqu 8+32*1-96(%rdi),%ymm2
937
+ vmovdqu 8+32*2-96(%rdi),%ymm3
938
+ vmovdqu 8+32*3-96(%rdi),%ymm4
939
+ vmovdqu 8+32*4-96(%rdi),%ymm5
940
+ vmovdqu 8+32*5-96(%rdi),%ymm6
941
+ KeccakP1600_12rounds_FastLoop_Absorb_Loop17Lanes:
942
+ vpbroadcastq (%rdx),%ymm7
943
+ vmovdqu 8(%rdx),%ymm8
944
+
945
+ vmovdqa mask2_17(%rip), %ymm14
946
+ vpxor %ymm9, %ymm9, %ymm9
947
+ vmovdqa map2(%rip), %xmm15
948
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm9
949
+
950
+ vmovdqa mask3_17(%rip), %ymm14
951
+ vpxor %ymm10, %ymm10, %ymm10
952
+ vmovdqa map3(%rip), %xmm15
953
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm10
954
+
955
+ vmovdqa mask4_17(%rip), %ymm14
956
+ vpxor %ymm11, %ymm11, %ymm11
957
+ vmovdqa map4(%rip), %xmm15
958
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm11
959
+
960
+ vmovdqa mask5_17(%rip), %ymm14
961
+ vpxor %ymm12, %ymm12, %ymm12
962
+ vmovdqa map5(%rip), %xmm15
963
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm12
964
+
965
+ vmovdqa mask6_17(%rip), %ymm14
966
+ vpxor %ymm13, %ymm13, %ymm13
967
+ vmovdqa map6(%rip), %xmm15
968
+ vpgatherdq %ymm14, (%rdx, %xmm15, 1), %ymm13
969
+
970
+ vpxor %ymm7,%ymm0,%ymm0
971
+ vpxor %ymm8,%ymm1,%ymm1
972
+ vpxor %ymm9,%ymm2,%ymm2
973
+ vpxor %ymm10,%ymm3,%ymm3
974
+ vpxor %ymm11,%ymm4,%ymm4
975
+ vpxor %ymm12,%ymm5,%ymm5
976
+ vpxor %ymm13,%ymm6,%ymm6
977
+ add $17*8, %rdx
978
+ lea iotas+12*4*8(%rip),%r10
979
+ mov $12,%eax
980
+ call __KeccakF1600
981
+ sub $17, %rcx
982
+ jnc KeccakP1600_12rounds_FastLoop_Absorb_Loop17Lanes
983
+ jmp KeccakP1600_12rounds_FastLoop_Absorb_SaveAndExit
984
+ KeccakP1600_12rounds_FastLoop_Absorb_Not17Lanes:
985
+ lea mapState(%rip), %r9
986
+ mov %rsi, %rax
987
+ KeccakP1600_12rounds_FastLoop_Absorb_LanesAddLoop:
988
+ mov (%rdx), %r8
989
+ add $8, %rdx
990
+ mov (%r9), %r10
991
+ add $8, %r9
992
+ add %rdi, %r10
993
+ xor %r8, (%r10)
994
+ sub $1, %rax
995
+ jnz KeccakP1600_12rounds_FastLoop_Absorb_LanesAddLoop
996
+ sub %rsi, %rcx
997
+ push %rdi
998
+ push %rsi
999
+ push %rdx
1000
+ push %rcx
1001
+ .ifdef no_plt
1002
+ call KeccakP1600_Permute_12rounds
1003
+ .else
1004
+ call KeccakP1600_Permute_12rounds@PLT
1005
+ .endif
1006
+ pop %rcx
1007
+ pop %rdx
1008
+ pop %rsi
1009
+ pop %rdi
1010
+ cmp %rsi, %rcx
1011
+ jae KeccakP1600_12rounds_FastLoop_Absorb_Not17Lanes
1012
+ jmp KeccakP1600_12rounds_FastLoop_Absorb_Exit
1013
+ .ifndef old_gas_syntax
1014
+ .size KeccakP1600_12rounds_FastLoop_Absorb,.-KeccakP1600_12rounds_FastLoop_Absorb
1015
+ .endif
1016
+
1017
+ .equ ALLON, 0xFFFFFFFFFFFFFFFF
1018
+
1019
+ .balign 64
1020
+ rhotates_left:
1021
+ .quad 3, 18, 36, 41 # [2][0] [4][0] [1][0] [3][0]
1022
+ .quad 1, 62, 28, 27 # [0][1] [0][2] [0][3] [0][4]
1023
+ .quad 45, 6, 56, 39 # [3][1] [1][2] [4][3] [2][4]
1024
+ .quad 10, 61, 55, 8 # [2][1] [4][2] [1][3] [3][4]
1025
+ .quad 2, 15, 25, 20 # [4][1] [3][2] [2][3] [1][4]
1026
+ .quad 44, 43, 21, 14 # [1][1] [2][2] [3][3] [4][4]
1027
+ rhotates_right:
1028
+ .quad 64-3, 64-18, 64-36, 64-41
1029
+ .quad 64-1, 64-62, 64-28, 64-27
1030
+ .quad 64-45, 64-6, 64-56, 64-39
1031
+ .quad 64-10, 64-61, 64-55, 64-8
1032
+ .quad 64-2, 64-15, 64-25, 64-20
1033
+ .quad 64-44, 64-43, 64-21, 64-14
1034
+ iotas:
1035
+ .quad 0x0000000000000001, 0x0000000000000001, 0x0000000000000001, 0x0000000000000001
1036
+ .quad 0x0000000000008082, 0x0000000000008082, 0x0000000000008082, 0x0000000000008082
1037
+ .quad 0x800000000000808a, 0x800000000000808a, 0x800000000000808a, 0x800000000000808a
1038
+ .quad 0x8000000080008000, 0x8000000080008000, 0x8000000080008000, 0x8000000080008000
1039
+ .quad 0x000000000000808b, 0x000000000000808b, 0x000000000000808b, 0x000000000000808b
1040
+ .quad 0x0000000080000001, 0x0000000080000001, 0x0000000080000001, 0x0000000080000001
1041
+ .quad 0x8000000080008081, 0x8000000080008081, 0x8000000080008081, 0x8000000080008081
1042
+ .quad 0x8000000000008009, 0x8000000000008009, 0x8000000000008009, 0x8000000000008009
1043
+ .quad 0x000000000000008a, 0x000000000000008a, 0x000000000000008a, 0x000000000000008a
1044
+ .quad 0x0000000000000088, 0x0000000000000088, 0x0000000000000088, 0x0000000000000088
1045
+ .quad 0x0000000080008009, 0x0000000080008009, 0x0000000080008009, 0x0000000080008009
1046
+ .quad 0x000000008000000a, 0x000000008000000a, 0x000000008000000a, 0x000000008000000a
1047
+ .quad 0x000000008000808b, 0x000000008000808b, 0x000000008000808b, 0x000000008000808b
1048
+ .quad 0x800000000000008b, 0x800000000000008b, 0x800000000000008b, 0x800000000000008b
1049
+ .quad 0x8000000000008089, 0x8000000000008089, 0x8000000000008089, 0x8000000000008089
1050
+ .quad 0x8000000000008003, 0x8000000000008003, 0x8000000000008003, 0x8000000000008003
1051
+ .quad 0x8000000000008002, 0x8000000000008002, 0x8000000000008002, 0x8000000000008002
1052
+ .quad 0x8000000000000080, 0x8000000000000080, 0x8000000000000080, 0x8000000000000080
1053
+ .quad 0x000000000000800a, 0x000000000000800a, 0x000000000000800a, 0x000000000000800a
1054
+ .quad 0x800000008000000a, 0x800000008000000a, 0x800000008000000a, 0x800000008000000a
1055
+ .quad 0x8000000080008081, 0x8000000080008081, 0x8000000080008081, 0x8000000080008081
1056
+ .quad 0x8000000000008080, 0x8000000000008080, 0x8000000000008080, 0x8000000000008080
1057
+ .quad 0x0000000080000001, 0x0000000080000001, 0x0000000080000001, 0x0000000080000001
1058
+ .quad 0x8000000080008008, 0x8000000080008008, 0x8000000080008008, 0x8000000080008008
1059
+
1060
+ mapState:
1061
+ .quad 0*8, 1*8, 2*8, 3*8, 4*8
1062
+ .quad 7*8, 21*8, 10*8, 15*8, 20*8
1063
+ .quad 5*8, 13*8, 22*8, 19*8, 12*8
1064
+ .quad 8*8, 9*8, 18*8, 23*8, 16*8
1065
+ .quad 6*8, 17*8, 14*8, 11*8, 24*8
1066
+
1067
+ .balign 16
1068
+ map2:
1069
+ .long 10*8, 20*8, 5*8, 15*8
1070
+ map3:
1071
+ .long 16*8, 7*8, 23*8, 14*8
1072
+ map4:
1073
+ .long 11*8, 22*8, 8*8, 19*8
1074
+ map5:
1075
+ .long 21*8, 17*8, 13*8, 9*8
1076
+ map6:
1077
+ .long 6*8, 12*8, 18*8, 24*8
1078
+
1079
+ .balign 32
1080
+ mask3_21:
1081
+ .quad ALLON, ALLON, 0, ALLON
1082
+ mask4_21:
1083
+ .quad ALLON, 0, ALLON, ALLON
1084
+ mask5_21:
1085
+ .quad 0, ALLON, ALLON, ALLON
1086
+ mask6_21:
1087
+ .quad ALLON, ALLON, ALLON, 0
1088
+
1089
+ mask2_17:
1090
+ .quad ALLON, 0, ALLON, ALLON
1091
+ mask3_17:
1092
+ .quad ALLON, ALLON, 0, ALLON
1093
+ mask4_17:
1094
+ .quad ALLON, 0, ALLON, 0
1095
+ mask5_17:
1096
+ .quad 0, 0, ALLON, ALLON
1097
+ mask6_17:
1098
+ .quad ALLON, ALLON, 0, 0
1099
+
1100
+ .asciz "Keccak-1600 for AVX2, CRYPTOGAMS by <appro@openssl.org>"