digest-kangarootwelve 0.4.7 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (473) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.XKCP +0 -20
  3. data/README.md +3 -3
  4. data/ext/digest/kangarootwelve/XKCP/lib/high/KangarooTwelve/KangarooTwelve.c +20 -20
  5. data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.c +2 -0
  6. data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.h +4 -4
  7. data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.inc +27 -31
  8. data/ext/digest/kangarootwelve/XKCP/lib/high/TurboSHAKE/TurboSHAKE.c +2 -0
  9. data/ext/digest/kangarootwelve/XKCP/lib/high/TurboSHAKE/TurboSHAKE.h +1 -1
  10. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARM/KeccakP-1600-SnP.h +18 -12
  11. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARMv7A-NEON/KeccakP-1600-SnP.h +19 -11
  12. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVR8/KeccakP-1600-SnP.h +18 -12
  13. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVR8/KeccakP-1600-avr8-fast.s +10 -10
  14. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX2/KeccakP-1600-AVX2.s +3 -0
  15. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX2/KeccakP-1600-SnP.h +24 -14
  16. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/C/KeccakP-1600-AVX512.c +23 -22
  17. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/C/KeccakP-1600-SnP.h +18 -13
  18. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/KeccakP-1600-AVX512.s +12 -12
  19. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/KeccakP-1600-SnP.h +18 -14
  20. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/XOP/KeccakP-1600-SnP.h +19 -13
  21. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/XOP/KeccakP-1600-XOP.c +36 -36
  22. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-SnP.h +18 -12
  23. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-compact64.c +19 -19
  24. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-32bits-inplace/KeccakP-1600-SnP.h +18 -12
  25. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-32bits-inplace/KeccakP-1600-inplace32BI.c +31 -31
  26. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-SnP.h +21 -16
  27. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-opt64.c +64 -64
  28. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/ARMv7A-NEON/KeccakP-1600-inplace-pl2-armv7a-neon-le-gcc.s +16 -16
  29. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/ARMv7A-NEON/KeccakP-1600-times2-SnP.h +24 -17
  30. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SIMD512.c +37 -37
  31. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SnP.h +25 -17
  32. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/KeccakP-1600-times2-SIMD128.c +32 -34
  33. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/KeccakP-1600-times2-SnP.h +24 -17
  34. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX2/KeccakP-1600-times4-SIMD256.c +39 -43
  35. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX2/KeccakP-1600-times4-SnP.h +26 -20
  36. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX512/KeccakP-1600-times4-SIMD512.c +38 -39
  37. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX512/KeccakP-1600-times4-SnP.h +25 -19
  38. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/AVX512/KeccakP-1600-times8-SIMD512.c +33 -35
  39. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/AVX512/KeccakP-1600-times8-SnP.h +26 -21
  40. data/ext/digest/kangarootwelve/XKCP/lib/low/common/SnP-Relaned.h +25 -21
  41. data/ext/digest/kangarootwelve/ext.c +2 -0
  42. data/ext/digest/kangarootwelve/targets/armv7a/config.h +1 -0
  43. data/ext/digest/kangarootwelve/targets/avx/config.h +1 -0
  44. data/ext/digest/kangarootwelve/targets/avx2/config.h +2 -0
  45. data/ext/digest/kangarootwelve/targets/avx2noasm/config.h +2 -0
  46. data/ext/digest/kangarootwelve/targets/avx512/config.h +3 -0
  47. data/ext/digest/kangarootwelve/targets/avx512noasm/config.h +3 -0
  48. data/ext/digest/kangarootwelve/targets/config.h +0 -6
  49. data/ext/digest/kangarootwelve/targets/list +0 -2
  50. data/ext/digest/kangarootwelve/targets/ssse3/config.h +1 -0
  51. data/ext/digest/kangarootwelve/targets/xop/config.h +1 -0
  52. data/lib/digest/kangarootwelve/version.rb +1 -1
  53. metadata +2 -422
  54. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-SnP.h +0 -44
  55. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-reference.h +0 -23
  56. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-reference32BI.c +0 -625
  57. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-SnP.h +0 -44
  58. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-reference.c +0 -444
  59. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-reference.h +0 -23
  60. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-SnP.h +0 -45
  61. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c +0 -37
  62. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-SnP.h +0 -45
  63. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-on1.c +0 -37
  64. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-SnP.h +0 -45
  65. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-on2.c +0 -38
  66. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-SnP.h +0 -45
  67. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-on1.c +0 -37
  68. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-SnP.h +0 -45
  69. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-on2.c +0 -38
  70. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-SnP.h +0 -45
  71. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-on4.c +0 -38
  72. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-SnP.h +0 -41
  73. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv6m-le-gcc.s +0 -446
  74. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv7m-le-gcc.s +0 -427
  75. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/AVR8/KeccakP-200-SnP.h +0 -41
  76. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/AVR8/KeccakP-200-avr8-fast.s +0 -647
  77. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/compact/KeccakP-200-SnP.h +0 -39
  78. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/compact/KeccakP-200-compact.c +0 -190
  79. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-SnP.h +0 -43
  80. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.c +0 -416
  81. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.h +0 -23
  82. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-SnP.h +0 -41
  83. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv6m-le-gcc.s +0 -458
  84. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv7m-le-gcc.s +0 -458
  85. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/AVR8/KeccakP-400-SnP.h +0 -41
  86. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/AVR8/KeccakP-400-avr8-fast.s +0 -728
  87. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-SnP.h +0 -43
  88. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.c +0 -418
  89. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.h +0 -23
  90. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-SnP.h +0 -42
  91. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv6m-le-gcc.s +0 -534
  92. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv7a-le-gcc.s +0 -527
  93. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv7m-le-gcc.s +0 -523
  94. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/AVR8/KeccakP-800-SnP.h +0 -42
  95. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/AVR8/KeccakP-800-avr8-fast.s +0 -929
  96. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/compact/KeccakP-800-SnP.h +0 -40
  97. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/compact/KeccakP-800-compact.c +0 -244
  98. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-SnP.h +0 -46
  99. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32-bis.macros +0 -184
  100. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32.c +0 -454
  101. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32.macros +0 -459
  102. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-unrolling-bis.macros +0 -83
  103. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-unrolling.macros +0 -88
  104. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/lcu2/KeccakP-800-opt32-config.h +0 -7
  105. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/lcua/KeccakP-800-opt32-config.h +0 -7
  106. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/u2/KeccakP-800-opt32-config.h +0 -7
  107. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/ua/KeccakP-800-opt32-config.h +0 -7
  108. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-SnP.h +0 -44
  109. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-reference.c +0 -441
  110. data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-reference.h +0 -23
  111. data/ext/digest/kangarootwelve/XKCP/lib/low/common/PlSnP-Fallback.inc +0 -291
  112. data/ext/digest/kangarootwelve/XKCP/tests/UnitTests/displayIntermediateValues.c +0 -177
  113. data/ext/digest/kangarootwelve/XKCP/tests/UnitTests/displayIntermediateValues.h +0 -30
  114. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times2-SnP.h +0 -1
  115. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times2-on1.c +0 -1
  116. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times4-SnP.h +0 -1
  117. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times4-on1.c +0 -1
  118. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times8-SnP.h +0 -1
  119. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times8-on1.c +0 -1
  120. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-200-SnP.h +0 -1
  121. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-200-armv6m-le-gcc.S +0 -1
  122. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-400-SnP.h +0 -1
  123. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-400-armv6m-le-gcc.S +0 -1
  124. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-800-SnP.h +0 -1
  125. data/ext/digest/kangarootwelve/targets/armv6/KeccakP-800-u2-armv6m-le-gcc.S +0 -1
  126. data/ext/digest/kangarootwelve/targets/armv6/PlSnP-Fallback.inc +0 -1
  127. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times2-SnP.h +0 -1
  128. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times2-on1.c +0 -1
  129. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times4-SnP.h +0 -1
  130. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times4-on1.c +0 -1
  131. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times8-SnP.h +0 -1
  132. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times8-on1.c +0 -1
  133. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-200-SnP.h +0 -1
  134. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-200-armv6m-le-gcc.S +0 -1
  135. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-400-SnP.h +0 -1
  136. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-400-armv6m-le-gcc.S +0 -1
  137. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-800-SnP.h +0 -1
  138. data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-800-u2-armv6m-le-gcc.S +0 -1
  139. data/ext/digest/kangarootwelve/targets/armv6m/PlSnP-Fallback.inc +0 -1
  140. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times4-SnP.h +0 -1
  141. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times4-on2.c +0 -1
  142. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times8-SnP.h +0 -1
  143. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times8-on2.c +0 -1
  144. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-SnP.h +0 -1
  145. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-reference.c +0 -1
  146. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-reference.h +0 -1
  147. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-SnP.h +0 -1
  148. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-reference.c +0 -1
  149. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-reference.h +0 -1
  150. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-800-SnP.h +0 -1
  151. data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-800-u2-armv7a-le-gcc.S +0 -1
  152. data/ext/digest/kangarootwelve/targets/armv7a/PlSnP-Fallback.inc +0 -1
  153. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times2-SnP.h +0 -1
  154. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times2-on1.c +0 -1
  155. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times4-SnP.h +0 -1
  156. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times4-on1.c +0 -1
  157. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times8-SnP.h +0 -1
  158. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times8-on1.c +0 -1
  159. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-200-SnP.h +0 -1
  160. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-200-armv7m-le-gcc.S +0 -1
  161. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-400-SnP.h +0 -1
  162. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-400-armv7m-le-gcc.S +0 -1
  163. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-800-SnP.h +0 -1
  164. data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-800-u2-armv7m-le-gcc.S +0 -1
  165. data/ext/digest/kangarootwelve/targets/armv7m/PlSnP-Fallback.inc +0 -1
  166. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times2-SnP.h +0 -1
  167. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times2-on1.c +0 -1
  168. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times4-SnP.h +0 -1
  169. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times4-on1.c +0 -1
  170. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times8-SnP.h +0 -1
  171. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times8-on1.c +0 -1
  172. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-SnP.h +0 -1
  173. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-reference.c +0 -1
  174. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-reference.h +0 -1
  175. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-SnP.h +0 -1
  176. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-reference.c +0 -1
  177. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-reference.h +0 -1
  178. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-SnP.h +0 -1
  179. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32-bis.macros +0 -1
  180. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32-config.h +0 -1
  181. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32.c +0 -1
  182. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32.macros +0 -1
  183. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-unrolling-bis.macros +0 -1
  184. data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-unrolling.macros +0 -1
  185. data/ext/digest/kangarootwelve/targets/armv8a/PlSnP-Fallback.inc +0 -1
  186. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times2-SnP.h +0 -1
  187. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times2-on1.c +0 -1
  188. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times4-SnP.h +0 -1
  189. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times4-on1.c +0 -1
  190. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times8-SnP.h +0 -1
  191. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times8-on1.c +0 -1
  192. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-200-SnP.h +0 -1
  193. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-200-avr8-fast.S +0 -1
  194. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-400-SnP.h +0 -1
  195. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-400-avr8-fast.S +0 -1
  196. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-800-SnP.h +0 -1
  197. data/ext/digest/kangarootwelve/targets/avr8/KeccakP-800-avr8-fast.S +0 -1
  198. data/ext/digest/kangarootwelve/targets/avr8/PlSnP-Fallback.inc +0 -1
  199. data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times4-SnP.h +0 -1
  200. data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times4-on2.c +0 -1
  201. data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times8-SnP.h +0 -1
  202. data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times8-on2.c +0 -1
  203. data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-SnP.h +0 -1
  204. data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-reference.c +0 -1
  205. data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-reference.h +0 -1
  206. data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-SnP.h +0 -1
  207. data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-reference.c +0 -1
  208. data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-reference.h +0 -1
  209. data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-SnP.h +0 -1
  210. data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32-bis.macros +0 -1
  211. data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32-config.h +0 -1
  212. data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32.c +0 -1
  213. data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32.macros +0 -1
  214. data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-unrolling-bis.macros +0 -1
  215. data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-unrolling.macros +0 -1
  216. data/ext/digest/kangarootwelve/targets/avx/PlSnP-Fallback.inc +0 -1
  217. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times8-SnP.h +0 -1
  218. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times8-on4.c +0 -1
  219. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-SnP.h +0 -1
  220. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-reference.c +0 -1
  221. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-reference.h +0 -1
  222. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-SnP.h +0 -1
  223. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-reference.c +0 -1
  224. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-reference.h +0 -1
  225. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-SnP.h +0 -1
  226. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32-bis.macros +0 -1
  227. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32-config.h +0 -1
  228. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32.c +0 -1
  229. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32.macros +0 -1
  230. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-unrolling-bis.macros +0 -1
  231. data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-unrolling.macros +0 -1
  232. data/ext/digest/kangarootwelve/targets/avx2/PlSnP-Fallback.inc +0 -1
  233. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times8-SnP.h +0 -1
  234. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times8-on4.c +0 -1
  235. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-SnP.h +0 -1
  236. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-reference.c +0 -1
  237. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-reference.h +0 -1
  238. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-SnP.h +0 -1
  239. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-reference.c +0 -1
  240. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-reference.h +0 -1
  241. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-SnP.h +0 -1
  242. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32-bis.macros +0 -1
  243. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32-config.h +0 -1
  244. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32.c +0 -1
  245. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32.macros +0 -1
  246. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-unrolling-bis.macros +0 -1
  247. data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-unrolling.macros +0 -1
  248. data/ext/digest/kangarootwelve/targets/avx2noasm/PlSnP-Fallback.inc +0 -1
  249. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-SnP.h +0 -1
  250. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-reference.c +0 -1
  251. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-reference.h +0 -1
  252. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-SnP.h +0 -1
  253. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-reference.c +0 -1
  254. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-reference.h +0 -1
  255. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-SnP.h +0 -1
  256. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32-bis.macros +0 -1
  257. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32-config.h +0 -1
  258. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32.c +0 -1
  259. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32.macros +0 -1
  260. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-unrolling-bis.macros +0 -1
  261. data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-unrolling.macros +0 -1
  262. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-SnP.h +0 -1
  263. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-reference.c +0 -1
  264. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-reference.h +0 -1
  265. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-SnP.h +0 -1
  266. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-reference.c +0 -1
  267. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-reference.h +0 -1
  268. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-SnP.h +0 -1
  269. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32-bis.macros +0 -1
  270. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32-config.h +0 -1
  271. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32.c +0 -1
  272. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32.macros +0 -1
  273. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-unrolling-bis.macros +0 -1
  274. data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-unrolling.macros +0 -1
  275. data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times2-SnP.h +0 -1
  276. data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times2-on1.c +0 -1
  277. data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times4-SnP.h +0 -1
  278. data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times4-on1.c +0 -1
  279. data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times8-SnP.h +0 -1
  280. data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times8-on1.c +0 -1
  281. data/ext/digest/kangarootwelve/targets/compact/KeccakP-200-SnP.h +0 -1
  282. data/ext/digest/kangarootwelve/targets/compact/KeccakP-200-compact.c +0 -1
  283. data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-SnP.h +0 -1
  284. data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-reference.c +0 -1
  285. data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-reference.h +0 -1
  286. data/ext/digest/kangarootwelve/targets/compact/KeccakP-800-SnP.h +0 -1
  287. data/ext/digest/kangarootwelve/targets/compact/KeccakP-800-compact.c +0 -1
  288. data/ext/digest/kangarootwelve/targets/compact/PlSnP-Fallback.inc +0 -1
  289. data/ext/digest/kangarootwelve/targets/defs +0 -2
  290. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times2-SnP.h +0 -1
  291. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times2-on1.c +0 -1
  292. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times4-SnP.h +0 -1
  293. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times4-on1.c +0 -1
  294. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times8-SnP.h +0 -1
  295. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times8-on1.c +0 -1
  296. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-SnP.h +0 -1
  297. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-reference.c +0 -1
  298. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-reference.h +0 -1
  299. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-SnP.h +0 -1
  300. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-reference.c +0 -1
  301. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-reference.h +0 -1
  302. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-SnP.h +0 -1
  303. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32-bis.macros +0 -1
  304. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32-config.h +0 -1
  305. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32.c +0 -1
  306. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32.macros +0 -1
  307. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-unrolling-bis.macros +0 -1
  308. data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-unrolling.macros +0 -1
  309. data/ext/digest/kangarootwelve/targets/generic32/PlSnP-Fallback.inc +0 -1
  310. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times2-SnP.h +0 -1
  311. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times2-on1.c +0 -1
  312. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times4-SnP.h +0 -1
  313. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times4-on1.c +0 -1
  314. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times8-SnP.h +0 -1
  315. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times8-on1.c +0 -1
  316. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-SnP.h +0 -1
  317. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-reference.c +0 -1
  318. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-reference.h +0 -1
  319. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-SnP.h +0 -1
  320. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-reference.c +0 -1
  321. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-reference.h +0 -1
  322. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-SnP.h +0 -1
  323. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32-bis.macros +0 -1
  324. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32-config.h +0 -1
  325. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32.c +0 -1
  326. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32.macros +0 -1
  327. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-unrolling-bis.macros +0 -1
  328. data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-unrolling.macros +0 -1
  329. data/ext/digest/kangarootwelve/targets/generic32lc/PlSnP-Fallback.inc +0 -1
  330. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times2-SnP.h +0 -1
  331. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times2-on1.c +0 -1
  332. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times4-SnP.h +0 -1
  333. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times4-on1.c +0 -1
  334. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times8-SnP.h +0 -1
  335. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times8-on1.c +0 -1
  336. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-SnP.h +0 -1
  337. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-reference.c +0 -1
  338. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-reference.h +0 -1
  339. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-SnP.h +0 -1
  340. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-reference.c +0 -1
  341. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-reference.h +0 -1
  342. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-SnP.h +0 -1
  343. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32-bis.macros +0 -1
  344. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32-config.h +0 -1
  345. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32.c +0 -1
  346. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32.macros +0 -1
  347. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-unrolling-bis.macros +0 -1
  348. data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-unrolling.macros +0 -1
  349. data/ext/digest/kangarootwelve/targets/generic64/PlSnP-Fallback.inc +0 -1
  350. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times2-SnP.h +0 -1
  351. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times2-on1.c +0 -1
  352. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times4-SnP.h +0 -1
  353. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times4-on1.c +0 -1
  354. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times8-SnP.h +0 -1
  355. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times8-on1.c +0 -1
  356. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-SnP.h +0 -1
  357. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-reference.c +0 -1
  358. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-reference.h +0 -1
  359. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-SnP.h +0 -1
  360. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-reference.c +0 -1
  361. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-reference.h +0 -1
  362. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-SnP.h +0 -1
  363. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32-bis.macros +0 -1
  364. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32-config.h +0 -1
  365. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32.c +0 -1
  366. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32.macros +0 -1
  367. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-unrolling-bis.macros +0 -1
  368. data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-unrolling.macros +0 -1
  369. data/ext/digest/kangarootwelve/targets/generic64lc/PlSnP-Fallback.inc +0 -1
  370. data/ext/digest/kangarootwelve/targets/reference/KangarooTwelve.c +0 -1
  371. data/ext/digest/kangarootwelve/targets/reference/KangarooTwelve.h +0 -1
  372. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-SnP.h +0 -1
  373. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-reference.c +0 -1
  374. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-reference.h +0 -1
  375. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times2-SnP.h +0 -1
  376. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times2-on1.c +0 -1
  377. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times4-SnP.h +0 -1
  378. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times4-on1.c +0 -1
  379. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times8-SnP.h +0 -1
  380. data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times8-on1.c +0 -1
  381. data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-SnP.h +0 -1
  382. data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-reference.c +0 -1
  383. data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-reference.h +0 -1
  384. data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-SnP.h +0 -1
  385. data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-reference.c +0 -1
  386. data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-reference.h +0 -1
  387. data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-SnP.h +0 -1
  388. data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-reference.c +0 -1
  389. data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-reference.h +0 -1
  390. data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.c +0 -1
  391. data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.h +0 -1
  392. data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.inc +0 -1
  393. data/ext/digest/kangarootwelve/targets/reference/Phases.h +0 -1
  394. data/ext/digest/kangarootwelve/targets/reference/PlSnP-Fallback.inc +0 -1
  395. data/ext/digest/kangarootwelve/targets/reference/TurboSHAKE.c +0 -1
  396. data/ext/digest/kangarootwelve/targets/reference/TurboSHAKE.h +0 -1
  397. data/ext/digest/kangarootwelve/targets/reference/align.h +0 -1
  398. data/ext/digest/kangarootwelve/targets/reference/brg_endian.h +0 -1
  399. data/ext/digest/kangarootwelve/targets/reference/config.h +0 -1
  400. data/ext/digest/kangarootwelve/targets/reference/displayIntermediateValues.c +0 -1
  401. data/ext/digest/kangarootwelve/targets/reference/displayIntermediateValues.h +0 -1
  402. data/ext/digest/kangarootwelve/targets/reference/ext.c +0 -1
  403. data/ext/digest/kangarootwelve/targets/reference/utils.h +0 -1
  404. data/ext/digest/kangarootwelve/targets/reference32bits/KangarooTwelve.c +0 -1
  405. data/ext/digest/kangarootwelve/targets/reference32bits/KangarooTwelve.h +0 -1
  406. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-SnP.h +0 -1
  407. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-reference.h +0 -1
  408. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-reference32BI.c +0 -1
  409. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times2-SnP.h +0 -1
  410. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times2-on1.c +0 -1
  411. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times4-SnP.h +0 -1
  412. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times4-on1.c +0 -1
  413. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times8-SnP.h +0 -1
  414. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times8-on1.c +0 -1
  415. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-SnP.h +0 -1
  416. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-reference.c +0 -1
  417. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-reference.h +0 -1
  418. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-SnP.h +0 -1
  419. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-reference.c +0 -1
  420. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-reference.h +0 -1
  421. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-SnP.h +0 -1
  422. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-reference.c +0 -1
  423. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-reference.h +0 -1
  424. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.c +0 -1
  425. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.h +0 -1
  426. data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.inc +0 -1
  427. data/ext/digest/kangarootwelve/targets/reference32bits/Phases.h +0 -1
  428. data/ext/digest/kangarootwelve/targets/reference32bits/PlSnP-Fallback.inc +0 -1
  429. data/ext/digest/kangarootwelve/targets/reference32bits/TurboSHAKE.c +0 -1
  430. data/ext/digest/kangarootwelve/targets/reference32bits/TurboSHAKE.h +0 -1
  431. data/ext/digest/kangarootwelve/targets/reference32bits/align.h +0 -1
  432. data/ext/digest/kangarootwelve/targets/reference32bits/brg_endian.h +0 -1
  433. data/ext/digest/kangarootwelve/targets/reference32bits/config.h +0 -1
  434. data/ext/digest/kangarootwelve/targets/reference32bits/displayIntermediateValues.c +0 -1
  435. data/ext/digest/kangarootwelve/targets/reference32bits/displayIntermediateValues.h +0 -1
  436. data/ext/digest/kangarootwelve/targets/reference32bits/ext.c +0 -1
  437. data/ext/digest/kangarootwelve/targets/reference32bits/utils.h +0 -1
  438. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times4-SnP.h +0 -1
  439. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times4-on2.c +0 -1
  440. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times8-SnP.h +0 -1
  441. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times8-on2.c +0 -1
  442. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-SnP.h +0 -1
  443. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-reference.c +0 -1
  444. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-reference.h +0 -1
  445. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-SnP.h +0 -1
  446. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-reference.c +0 -1
  447. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-reference.h +0 -1
  448. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-SnP.h +0 -1
  449. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32-bis.macros +0 -1
  450. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32-config.h +0 -1
  451. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32.c +0 -1
  452. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32.macros +0 -1
  453. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-unrolling-bis.macros +0 -1
  454. data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-unrolling.macros +0 -1
  455. data/ext/digest/kangarootwelve/targets/ssse3/PlSnP-Fallback.inc +0 -1
  456. data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times4-SnP.h +0 -1
  457. data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times4-on2.c +0 -1
  458. data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times8-SnP.h +0 -1
  459. data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times8-on2.c +0 -1
  460. data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-SnP.h +0 -1
  461. data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-reference.c +0 -1
  462. data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-reference.h +0 -1
  463. data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-SnP.h +0 -1
  464. data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-reference.c +0 -1
  465. data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-reference.h +0 -1
  466. data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-SnP.h +0 -1
  467. data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32-bis.macros +0 -1
  468. data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32-config.h +0 -1
  469. data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32.c +0 -1
  470. data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32.macros +0 -1
  471. data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-unrolling-bis.macros +0 -1
  472. data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-unrolling.macros +0 -1
  473. data/ext/digest/kangarootwelve/targets/xop/PlSnP-Fallback.inc +0 -1
@@ -1,459 +0,0 @@
1
- /*
2
- The eXtended Keccak Code Package (XKCP)
3
- https://github.com/XKCP/XKCP
4
-
5
- The Keccak-p permutations, designed by Guido Bertoni, Joan Daemen, Michaël Peeters and Gilles Van Assche.
6
-
7
- Implementation by Ronny Van Keer, hereby denoted as "the implementer".
8
-
9
- For more information, feedback or questions, please refer to the Keccak Team website:
10
- https://keccak.team/
11
-
12
- To the extent possible under law, the implementer has waived all copyright
13
- and related or neighboring rights to the source code in this file.
14
- http://creativecommons.org/publicdomain/zero/1.0/
15
- */
16
-
17
- #define _b 0
18
- #define _g 5
19
- #define _k 10
20
- #define _m 15
21
- #define _s 20
22
-
23
- #define _a 0
24
- #define _e 1
25
- #define _i 2
26
- #define _o 3
27
- #define _u 4
28
-
29
- #define declareBCDE \
30
- uint32_t Ba, Be, Bi, Bo, Bu; \
31
- uint32_t Ca, Ce, Ci, Co, Cu; \
32
- uint32_t Da, De, Di, Do, Du; \
33
- uint32_t Estate[25]; \
34
-
35
- #define prepareTheta \
36
- Ca = Astate[_b+_a]^Astate[_g+_a]^Astate[_k+_a]^Astate[_m+_a]^Astate[_s+_a]; \
37
- Ce = Astate[_b+_e]^Astate[_g+_e]^Astate[_k+_e]^Astate[_m+_e]^Astate[_s+_e]; \
38
- Ci = Astate[_b+_i]^Astate[_g+_i]^Astate[_k+_i]^Astate[_m+_i]^Astate[_s+_i]; \
39
- Co = Astate[_b+_o]^Astate[_g+_o]^Astate[_k+_o]^Astate[_m+_o]^Astate[_s+_o]; \
40
- Cu = Astate[_b+_u]^Astate[_g+_u]^Astate[_k+_u]^Astate[_m+_u]^Astate[_s+_u]; \
41
-
42
- #ifdef UseBebigokimisa
43
- /* --- Code for round, with prepare-theta (lane complementing pattern 'bebigokimisa') */
44
- /* --- 32-bit lanes mapped to 32-bit words */
45
- #define thetaRhoPiChiIotaPrepareTheta(i, A, E) \
46
- Da = Cu^ROL32(Ce, 1); \
47
- De = Ca^ROL32(Ci, 1); \
48
- Di = Ce^ROL32(Co, 1); \
49
- Do = Ci^ROL32(Cu, 1); \
50
- Du = Co^ROL32(Ca, 1); \
51
- \
52
- A##state[_b+_a] ^= Da; \
53
- Ba = A##state[_b+_a]; \
54
- A##state[_g+_e] ^= De; \
55
- Be = ROL32(A##state[_g+_e], 12); \
56
- A##state[_k+_i] ^= Di; \
57
- Bi = ROL32(A##state[_k+_i], 11); \
58
- A##state[_m+_o] ^= Do; \
59
- Bo = ROL32(A##state[_m+_o], 21); \
60
- A##state[_s+_u] ^= Du; \
61
- Bu = ROL32(A##state[_s+_u], 14); \
62
- E##state[_b+_a] = Ba ^( Be | Bi ); \
63
- E##state[_b+_a] ^= KeccakF800RoundConstants[i]; \
64
- Ca = E##state[_b+_a]; \
65
- E##state[_b+_e] = Be ^((~Bi)| Bo ); \
66
- Ce = E##state[_b+_e]; \
67
- E##state[_b+_i] = Bi ^( Bo & Bu ); \
68
- Ci = E##state[_b+_i]; \
69
- E##state[_b+_o] = Bo ^( Bu | Ba ); \
70
- Co = E##state[_b+_o]; \
71
- E##state[_b+_u] = Bu ^( Ba & Be ); \
72
- Cu = E##state[_b+_u]; \
73
- \
74
- A##state[_b+_o] ^= Do; \
75
- Ba = ROL32(A##state[_b+_o], 28); \
76
- A##state[_g+_u] ^= Du; \
77
- Be = ROL32(A##state[_g+_u], 20); \
78
- A##state[_k+_a] ^= Da; \
79
- Bi = ROL32(A##state[_k+_a], 3); \
80
- A##state[_m+_e] ^= De; \
81
- Bo = ROL32(A##state[_m+_e], 13); \
82
- A##state[_s+_i] ^= Di; \
83
- Bu = ROL32(A##state[_s+_i], 29); \
84
- E##state[_g+_a] = Ba ^( Be | Bi ); \
85
- Ca ^= E##state[_g+_a]; \
86
- E##state[_g+_e] = Be ^( Bi & Bo ); \
87
- Ce ^= E##state[_g+_e]; \
88
- E##state[_g+_i] = Bi ^( Bo |(~Bu)); \
89
- Ci ^= E##state[_g+_i]; \
90
- E##state[_g+_o] = Bo ^( Bu | Ba ); \
91
- Co ^= E##state[_g+_o]; \
92
- E##state[_g+_u] = Bu ^( Ba & Be ); \
93
- Cu ^= E##state[_g+_u]; \
94
- \
95
- A##state[_b+_e] ^= De; \
96
- Ba = ROL32(A##state[_b+_e], 1); \
97
- A##state[_g+_i] ^= Di; \
98
- Be = ROL32(A##state[_g+_i], 6); \
99
- A##state[_k+_o] ^= Do; \
100
- Bi = ROL32(A##state[_k+_o], 25); \
101
- A##state[_m+_u] ^= Du; \
102
- Bo = ROL32(A##state[_m+_u], 8); \
103
- A##state[_s+_a] ^= Da; \
104
- Bu = ROL32(A##state[_s+_a], 18); \
105
- E##state[_k+_a] = Ba ^( Be | Bi ); \
106
- Ca ^= E##state[_k+_a]; \
107
- E##state[_k+_e] = Be ^( Bi & Bo ); \
108
- Ce ^= E##state[_k+_e]; \
109
- E##state[_k+_i] = Bi ^((~Bo)& Bu ); \
110
- Ci ^= E##state[_k+_i]; \
111
- E##state[_k+_o] = (~Bo)^( Bu | Ba ); \
112
- Co ^= E##state[_k+_o]; \
113
- E##state[_k+_u] = Bu ^( Ba & Be ); \
114
- Cu ^= E##state[_k+_u]; \
115
- \
116
- A##state[_b+_u] ^= Du; \
117
- Ba = ROL32(A##state[_b+_u], 27); \
118
- A##state[_g+_a] ^= Da; \
119
- Be = ROL32(A##state[_g+_a], 4); \
120
- A##state[_k+_e] ^= De; \
121
- Bi = ROL32(A##state[_k+_e], 10); \
122
- A##state[_m+_i] ^= Di; \
123
- Bo = ROL32(A##state[_m+_i], 15); \
124
- A##state[_s+_o] ^= Do; \
125
- Bu = ROL32(A##state[_s+_o], 24); \
126
- E##state[_m+_a] = Ba ^( Be & Bi ); \
127
- Ca ^= E##state[_m+_a]; \
128
- E##state[_m+_e] = Be ^( Bi | Bo ); \
129
- Ce ^= E##state[_m+_e]; \
130
- E##state[_m+_i] = Bi ^((~Bo)| Bu ); \
131
- Ci ^= E##state[_m+_i]; \
132
- E##state[_m+_o] = (~Bo)^( Bu & Ba ); \
133
- Co ^= E##state[_m+_o]; \
134
- E##state[_m+_u] = Bu ^( Ba | Be ); \
135
- Cu ^= E##state[_m+_u]; \
136
- \
137
- A##state[_b+_i] ^= Di; \
138
- Ba = ROL32(A##state[_b+_i], 30); \
139
- A##state[_g+_o] ^= Do; \
140
- Be = ROL32(A##state[_g+_o], 23); \
141
- A##state[_k+_u] ^= Du; \
142
- Bi = ROL32(A##state[_k+_u], 7); \
143
- A##state[_m+_a] ^= Da; \
144
- Bo = ROL32(A##state[_m+_a], 9); \
145
- A##state[_s+_e] ^= De; \
146
- Bu = ROL32(A##state[_s+_e], 2); \
147
- E##state[_s+_a] = Ba ^((~Be)& Bi ); \
148
- Ca ^= E##state[_s+_a]; \
149
- E##state[_s+_e] = (~Be)^( Bi | Bo ); \
150
- Ce ^= E##state[_s+_e]; \
151
- E##state[_s+_i] = Bi ^( Bo & Bu ); \
152
- Ci ^= E##state[_s+_i]; \
153
- E##state[_s+_o] = Bo ^( Bu | Ba ); \
154
- Co ^= E##state[_s+_o]; \
155
- E##state[_s+_u] = Bu ^( Ba & Be ); \
156
- Cu ^= E##state[_s+_u]; \
157
- \
158
-
159
- /* --- Code for round (lane complementing pattern 'bebigokimisa') */
160
- /* --- 32-bit lanes mapped to 32-bit words */
161
- #define thetaRhoPiChiIota(i, A, E) \
162
- Da = Cu^ROL32(Ce, 1); \
163
- De = Ca^ROL32(Ci, 1); \
164
- Di = Ce^ROL32(Co, 1); \
165
- Do = Ci^ROL32(Cu, 1); \
166
- Du = Co^ROL32(Ca, 1); \
167
- \
168
- A##state[_b+_a] ^= Da; \
169
- Ba = A##state[_b+_a]; \
170
- A##state[_g+_e] ^= De; \
171
- Be = ROL32(A##state[_g+_e], 12); \
172
- A##state[_k+_i] ^= Di; \
173
- Bi = ROL32(A##state[_k+_i], 11); \
174
- A##state[_m+_o] ^= Do; \
175
- Bo = ROL32(A##state[_m+_o], 21); \
176
- A##state[_s+_u] ^= Du; \
177
- Bu = ROL32(A##state[_s+_u], 14); \
178
- E##state[_b+_a] = Ba ^( Be | Bi ); \
179
- E##state[_b+_a] ^= KeccakF800RoundConstants[i]; \
180
- E##state[_b+_e] = Be ^((~Bi)| Bo ); \
181
- E##state[_b+_i] = Bi ^( Bo & Bu ); \
182
- E##state[_b+_o] = Bo ^( Bu | Ba ); \
183
- E##state[_b+_u] = Bu ^( Ba & Be ); \
184
- \
185
- A##state[_b+_o] ^= Do; \
186
- Ba = ROL32(A##state[_b+_o], 28); \
187
- A##state[_g+_u] ^= Du; \
188
- Be = ROL32(A##state[_g+_u], 20); \
189
- A##state[_k+_a] ^= Da; \
190
- Bi = ROL32(A##state[_k+_a], 3); \
191
- A##state[_m+_e] ^= De; \
192
- Bo = ROL32(A##state[_m+_e], 13); \
193
- A##state[_s+_i] ^= Di; \
194
- Bu = ROL32(A##state[_s+_i], 29); \
195
- E##state[_g+_a] = Ba ^( Be | Bi ); \
196
- E##state[_g+_e] = Be ^( Bi & Bo ); \
197
- E##state[_g+_i] = Bi ^( Bo |(~Bu)); \
198
- E##state[_g+_o] = Bo ^( Bu | Ba ); \
199
- E##state[_g+_u] = Bu ^( Ba & Be ); \
200
- \
201
- A##state[_b+_e] ^= De; \
202
- Ba = ROL32(A##state[_b+_e], 1); \
203
- A##state[_g+_i] ^= Di; \
204
- Be = ROL32(A##state[_g+_i], 6); \
205
- A##state[_k+_o] ^= Do; \
206
- Bi = ROL32(A##state[_k+_o], 25); \
207
- A##state[_m+_u] ^= Du; \
208
- Bo = ROL32(A##state[_m+_u], 8); \
209
- A##state[_s+_a] ^= Da; \
210
- Bu = ROL32(A##state[_s+_a], 18); \
211
- E##state[_k+_a] = Ba ^( Be | Bi ); \
212
- E##state[_k+_e] = Be ^( Bi & Bo ); \
213
- E##state[_k+_i] = Bi ^((~Bo)& Bu ); \
214
- E##state[_k+_o] = (~Bo)^( Bu | Ba ); \
215
- E##state[_k+_u] = Bu ^( Ba & Be ); \
216
- \
217
- A##state[_b+_u] ^= Du; \
218
- Ba = ROL32(A##state[_b+_u], 27); \
219
- A##state[_g+_a] ^= Da; \
220
- Be = ROL32(A##state[_g+_a], 4); \
221
- A##state[_k+_e] ^= De; \
222
- Bi = ROL32(A##state[_k+_e], 10); \
223
- A##state[_m+_i] ^= Di; \
224
- Bo = ROL32(A##state[_m+_i], 15); \
225
- A##state[_s+_o] ^= Do; \
226
- Bu = ROL32(A##state[_s+_o], 24); \
227
- E##state[_m+_a] = Ba ^( Be & Bi ); \
228
- E##state[_m+_e] = Be ^( Bi | Bo ); \
229
- E##state[_m+_i] = Bi ^((~Bo)| Bu ); \
230
- E##state[_m+_o] = (~Bo)^( Bu & Ba ); \
231
- E##state[_m+_u] = Bu ^( Ba | Be ); \
232
- \
233
- A##state[_b+_i] ^= Di; \
234
- Ba = ROL32(A##state[_b+_i], 30); \
235
- A##state[_g+_o] ^= Do; \
236
- Be = ROL32(A##state[_g+_o], 23); \
237
- A##state[_k+_u] ^= Du; \
238
- Bi = ROL32(A##state[_k+_u], 7); \
239
- A##state[_m+_a] ^= Da; \
240
- Bo = ROL32(A##state[_m+_a], 9); \
241
- A##state[_s+_e] ^= De; \
242
- Bu = ROL32(A##state[_s+_e], 2); \
243
- E##state[_s+_a] = Ba ^((~Be)& Bi ); \
244
- E##state[_s+_e] = (~Be)^( Bi | Bo ); \
245
- E##state[_s+_i] = Bi ^( Bo & Bu ); \
246
- E##state[_s+_o] = Bo ^( Bu | Ba ); \
247
- E##state[_s+_u] = Bu ^( Ba & Be ); \
248
- \
249
-
250
- #else /* UseBebigokimisa */
251
- /* --- Code for round, with prepare-theta */
252
- /* --- 32-bit lanes mapped to 32-bit words */
253
- #define thetaRhoPiChiIotaPrepareTheta(i, A, E) \
254
- Da = Cu^ROL32(Ce, 1); \
255
- De = Ca^ROL32(Ci, 1); \
256
- Di = Ce^ROL32(Co, 1); \
257
- Do = Ci^ROL32(Cu, 1); \
258
- Du = Co^ROL32(Ca, 1); \
259
- \
260
- A##state[_b+_a] ^= Da; \
261
- Ba = A##state[_b+_a]; \
262
- A##state[_g+_e] ^= De; \
263
- Be = ROL32(A##state[_g+_e], 12); \
264
- A##state[_k+_i] ^= Di; \
265
- Bi = ROL32(A##state[_k+_i], 11); \
266
- A##state[_m+_o] ^= Do; \
267
- Bo = ROL32(A##state[_m+_o], 21); \
268
- A##state[_s+_u] ^= Du; \
269
- Bu = ROL32(A##state[_s+_u], 14); \
270
- E##state[_b+_a] = Ba ^((~Be)& Bi ); \
271
- E##state[_b+_a] ^= KeccakF800RoundConstants[i]; \
272
- Ca = E##state[_b+_a]; \
273
- E##state[_b+_e] = Be ^((~Bi)& Bo ); \
274
- Ce = E##state[_b+_e]; \
275
- E##state[_b+_i] = Bi ^((~Bo)& Bu ); \
276
- Ci = E##state[_b+_i]; \
277
- E##state[_b+_o] = Bo ^((~Bu)& Ba ); \
278
- Co = E##state[_b+_o]; \
279
- E##state[_b+_u] = Bu ^((~Ba)& Be ); \
280
- Cu = E##state[_b+_u]; \
281
- \
282
- A##state[_b+_o] ^= Do; \
283
- Ba = ROL32(A##state[_b+_o], 28); \
284
- A##state[_g+_u] ^= Du; \
285
- Be = ROL32(A##state[_g+_u], 20); \
286
- A##state[_k+_a] ^= Da; \
287
- Bi = ROL32(A##state[_k+_a], 3); \
288
- A##state[_m+_e] ^= De; \
289
- Bo = ROL32(A##state[_m+_e], 13); \
290
- A##state[_s+_i] ^= Di; \
291
- Bu = ROL32(A##state[_s+_i], 29); \
292
- E##state[_g+_a] = Ba ^((~Be)& Bi ); \
293
- Ca ^= E##state[_g+_a]; \
294
- E##state[_g+_e] = Be ^((~Bi)& Bo ); \
295
- Ce ^= E##state[_g+_e]; \
296
- E##state[_g+_i] = Bi ^((~Bo)& Bu ); \
297
- Ci ^= E##state[_g+_i]; \
298
- E##state[_g+_o] = Bo ^((~Bu)& Ba ); \
299
- Co ^= E##state[_g+_o]; \
300
- E##state[_g+_u] = Bu ^((~Ba)& Be ); \
301
- Cu ^= E##state[_g+_u]; \
302
- \
303
- A##state[_b+_e] ^= De; \
304
- Ba = ROL32(A##state[_b+_e], 1); \
305
- A##state[_g+_i] ^= Di; \
306
- Be = ROL32(A##state[_g+_i], 6); \
307
- A##state[_k+_o] ^= Do; \
308
- Bi = ROL32(A##state[_k+_o], 25); \
309
- A##state[_m+_u] ^= Du; \
310
- Bo = ROL32(A##state[_m+_u], 8); \
311
- A##state[_s+_a] ^= Da; \
312
- Bu = ROL32(A##state[_s+_a], 18); \
313
- E##state[_k+_a] = Ba ^((~Be)& Bi ); \
314
- Ca ^= E##state[_k+_a]; \
315
- E##state[_k+_e] = Be ^((~Bi)& Bo ); \
316
- Ce ^= E##state[_k+_e]; \
317
- E##state[_k+_i] = Bi ^((~Bo)& Bu ); \
318
- Ci ^= E##state[_k+_i]; \
319
- E##state[_k+_o] = Bo ^((~Bu)& Ba ); \
320
- Co ^= E##state[_k+_o]; \
321
- E##state[_k+_u] = Bu ^((~Ba)& Be ); \
322
- Cu ^= E##state[_k+_u]; \
323
- \
324
- A##state[_b+_u] ^= Du; \
325
- Ba = ROL32(A##state[_b+_u], 27); \
326
- A##state[_g+_a] ^= Da; \
327
- Be = ROL32(A##state[_g+_a], 4); \
328
- A##state[_k+_e] ^= De; \
329
- Bi = ROL32(A##state[_k+_e], 10); \
330
- A##state[_m+_i] ^= Di; \
331
- Bo = ROL32(A##state[_m+_i], 15); \
332
- A##state[_s+_o] ^= Do; \
333
- Bu = ROL32(A##state[_s+_o], 24); \
334
- E##state[_m+_a] = Ba ^((~Be)& Bi ); \
335
- Ca ^= E##state[_m+_a]; \
336
- E##state[_m+_e] = Be ^((~Bi)& Bo ); \
337
- Ce ^= E##state[_m+_e]; \
338
- E##state[_m+_i] = Bi ^((~Bo)& Bu ); \
339
- Ci ^= E##state[_m+_i]; \
340
- E##state[_m+_o] = Bo ^((~Bu)& Ba ); \
341
- Co ^= E##state[_m+_o]; \
342
- E##state[_m+_u] = Bu ^((~Ba)& Be ); \
343
- Cu ^= E##state[_m+_u]; \
344
- \
345
- A##state[_b+_i] ^= Di; \
346
- Ba = ROL32(A##state[_b+_i], 30); \
347
- A##state[_g+_o] ^= Do; \
348
- Be = ROL32(A##state[_g+_o], 23); \
349
- A##state[_k+_u] ^= Du; \
350
- Bi = ROL32(A##state[_k+_u], 7); \
351
- A##state[_m+_a] ^= Da; \
352
- Bo = ROL32(A##state[_m+_a], 9); \
353
- A##state[_s+_e] ^= De; \
354
- Bu = ROL32(A##state[_s+_e], 2); \
355
- E##state[_s+_a] = Ba ^((~Be)& Bi ); \
356
- Ca ^= E##state[_s+_a]; \
357
- E##state[_s+_e] = Be ^((~Bi)& Bo ); \
358
- Ce ^= E##state[_s+_e]; \
359
- E##state[_s+_i] = Bi ^((~Bo)& Bu ); \
360
- Ci ^= E##state[_s+_i]; \
361
- E##state[_s+_o] = Bo ^((~Bu)& Ba ); \
362
- Co ^= E##state[_s+_o]; \
363
- E##state[_s+_u] = Bu ^((~Ba)& Be ); \
364
- Cu ^= E##state[_s+_u]; \
365
- \
366
-
367
- /* --- Code for round */
368
- /* --- 32-bit lanes mapped to 32-bit words */
369
- #define thetaRhoPiChiIota(i, A, E) \
370
- Da = Cu^ROL32(Ce, 1); \
371
- De = Ca^ROL32(Ci, 1); \
372
- Di = Ce^ROL32(Co, 1); \
373
- Do = Ci^ROL32(Cu, 1); \
374
- Du = Co^ROL32(Ca, 1); \
375
- \
376
- A##state[_b+_a] ^= Da; \
377
- Ba = A##state[_b+_a]; \
378
- A##state[_g+_e] ^= De; \
379
- Be = ROL32(A##state[_g+_e], 12); \
380
- A##state[_k+_i] ^= Di; \
381
- Bi = ROL32(A##state[_k+_i], 11); \
382
- A##state[_m+_o] ^= Do; \
383
- Bo = ROL32(A##state[_m+_o], 21); \
384
- A##state[_s+_u] ^= Du; \
385
- Bu = ROL32(A##state[_s+_u], 14); \
386
- E##state[_b+_a] = Ba ^((~Be)& Bi ); \
387
- E##state[_b+_a] ^= KeccakF800RoundConstants[i]; \
388
- E##state[_b+_e] = Be ^((~Bi)& Bo ); \
389
- E##state[_b+_i] = Bi ^((~Bo)& Bu ); \
390
- E##state[_b+_o] = Bo ^((~Bu)& Ba ); \
391
- E##state[_b+_u] = Bu ^((~Ba)& Be ); \
392
- \
393
- A##state[_b+_o] ^= Do; \
394
- Ba = ROL32(A##state[_b+_o], 28); \
395
- A##state[_g+_u] ^= Du; \
396
- Be = ROL32(A##state[_g+_u], 20); \
397
- A##state[_k+_a] ^= Da; \
398
- Bi = ROL32(A##state[_k+_a], 3); \
399
- A##state[_m+_e] ^= De; \
400
- Bo = ROL32(A##state[_m+_e], 13); \
401
- A##state[_s+_i] ^= Di; \
402
- Bu = ROL32(A##state[_s+_i], 29); \
403
- E##state[_g+_a] = Ba ^((~Be)& Bi ); \
404
- E##state[_g+_e] = Be ^((~Bi)& Bo ); \
405
- E##state[_g+_i] = Bi ^((~Bo)& Bu ); \
406
- E##state[_g+_o] = Bo ^((~Bu)& Ba ); \
407
- E##state[_g+_u] = Bu ^((~Ba)& Be ); \
408
- \
409
- A##state[_b+_e] ^= De; \
410
- Ba = ROL32(A##state[_b+_e], 1); \
411
- A##state[_g+_i] ^= Di; \
412
- Be = ROL32(A##state[_g+_i], 6); \
413
- A##state[_k+_o] ^= Do; \
414
- Bi = ROL32(A##state[_k+_o], 25); \
415
- A##state[_m+_u] ^= Du; \
416
- Bo = ROL32(A##state[_m+_u], 8); \
417
- A##state[_s+_a] ^= Da; \
418
- Bu = ROL32(A##state[_s+_a], 18); \
419
- E##state[_k+_a] = Ba ^((~Be)& Bi ); \
420
- E##state[_k+_e] = Be ^((~Bi)& Bo ); \
421
- E##state[_k+_i] = Bi ^((~Bo)& Bu ); \
422
- E##state[_k+_o] = Bo ^((~Bu)& Ba ); \
423
- E##state[_k+_u] = Bu ^((~Ba)& Be ); \
424
- \
425
- A##state[_b+_u] ^= Du; \
426
- Ba = ROL32(A##state[_b+_u], 27); \
427
- A##state[_g+_a] ^= Da; \
428
- Be = ROL32(A##state[_g+_a], 4); \
429
- A##state[_k+_e] ^= De; \
430
- Bi = ROL32(A##state[_k+_e], 10); \
431
- A##state[_m+_i] ^= Di; \
432
- Bo = ROL32(A##state[_m+_i], 15); \
433
- A##state[_s+_o] ^= Do; \
434
- Bu = ROL32(A##state[_s+_o], 24); \
435
- E##state[_m+_a] = Ba ^((~Be)& Bi ); \
436
- E##state[_m+_e] = Be ^((~Bi)& Bo ); \
437
- E##state[_m+_i] = Bi ^((~Bo)& Bu ); \
438
- E##state[_m+_o] = Bo ^((~Bu)& Ba ); \
439
- E##state[_m+_u] = Bu ^((~Ba)& Be ); \
440
- \
441
- A##state[_b+_i] ^= Di; \
442
- Ba = ROL32(A##state[_b+_i], 30); \
443
- A##state[_g+_o] ^= Do; \
444
- Be = ROL32(A##state[_g+_o], 23); \
445
- A##state[_k+_u] ^= Du; \
446
- Bi = ROL32(A##state[_k+_u], 7); \
447
- A##state[_m+_a] ^= Da; \
448
- Bo = ROL32(A##state[_m+_a], 9); \
449
- A##state[_s+_e] ^= De; \
450
- Bu = ROL32(A##state[_s+_e], 2); \
451
- E##state[_s+_a] = Ba ^((~Be)& Bi ); \
452
- E##state[_s+_e] = Be ^((~Bi)& Bo ); \
453
- E##state[_s+_i] = Bi ^((~Bo)& Bu ); \
454
- E##state[_s+_o] = Bo ^((~Bu)& Ba ); \
455
- E##state[_s+_u] = Bu ^((~Ba)& Be ); \
456
- \
457
-
458
- #endif /* UseBebigokimisa */
459
-
@@ -1,83 +0,0 @@
1
- /*
2
- The eXtended Keccak Code Package (XKCP)
3
- https://github.com/XKCP/XKCP
4
-
5
- The Keccak-p permutations, designed by Guido Bertoni, Joan Daemen, Michaël Peeters and Gilles Van Assche.
6
-
7
- Implementation by Ronny Van Keer, hereby denoted as "the implementer".
8
-
9
- For more information, feedback or questions, please refer to the Keccak Team website:
10
- https://keccak.team/
11
-
12
- To the extent possible under law, the implementer has waived all copyright
13
- and related or neighboring rights to the source code in this file.
14
- http://creativecommons.org/publicdomain/zero/1.0/
15
- */
16
-
17
- #if (defined(KeccakP800_fullUnrolling))
18
- #define rounds22 \
19
- thetaRhoPiChiIota( 0, A, E) \
20
- thetaRhoPiChiIota( 1, E, A) \
21
- thetaRhoPiChiIota( 2, A, E) \
22
- thetaRhoPiChiIota( 3, E, A) \
23
- thetaRhoPiChiIota( 4, A, E) \
24
- thetaRhoPiChiIota( 5, E, A) \
25
- thetaRhoPiChiIota( 6, A, E) \
26
- thetaRhoPiChiIota( 7, E, A) \
27
- thetaRhoPiChiIota( 8, A, E) \
28
- thetaRhoPiChiIota( 9, E, A) \
29
- thetaRhoPiChiIota(10, A, E) \
30
- thetaRhoPiChiIota(11, E, A) \
31
- thetaRhoPiChiIota(12, A, E) \
32
- thetaRhoPiChiIota(13, E, A) \
33
- thetaRhoPiChiIota(14, A, E) \
34
- thetaRhoPiChiIota(15, E, A) \
35
- thetaRhoPiChiIota(16, A, E) \
36
- thetaRhoPiChiIota(17, E, A) \
37
- thetaRhoPiChiIota(18, A, E) \
38
- thetaRhoPiChiIota(19, E, A) \
39
- thetaRhoPiChiIota(20, A, E) \
40
- thetaRhoPiChiIota(21, E, A) \
41
-
42
- #define rounds12 \
43
- thetaRhoPiChiIota(10, A, E) \
44
- thetaRhoPiChiIota(11, E, A) \
45
- thetaRhoPiChiIota(12, A, E) \
46
- thetaRhoPiChiIota(13, E, A) \
47
- thetaRhoPiChiIota(14, A, E) \
48
- thetaRhoPiChiIota(15, E, A) \
49
- thetaRhoPiChiIota(16, A, E) \
50
- thetaRhoPiChiIota(17, E, A) \
51
- thetaRhoPiChiIota(18, A, E) \
52
- thetaRhoPiChiIota(19, E, A) \
53
- thetaRhoPiChiIota(20, A, E) \
54
- thetaRhoPiChiIota(21, E, A) \
55
-
56
- #elif (KeccakP800_unrolling == 2)
57
- #define rounds22 \
58
- for(i=0; i<22; i+=2) { \
59
- thetaRhoPiChiIota(i , A, E) \
60
- thetaRhoPiChiIota(i+1, E, A) \
61
- } \
62
-
63
- #define rounds12 \
64
- for(i=10; i<22; i+=2) { \
65
- thetaRhoPiChiIota(i , A, E) \
66
- thetaRhoPiChiIota(i+1, E, A) \
67
- } \
68
-
69
- #else
70
- #error "KeccakP800_unrolling is not correctly specified!"
71
- #endif
72
-
73
- #define roundsN(A,E,__nrounds) \
74
- i = 22 - (__nrounds); \
75
- if ((i&1) != 0) { \
76
- memcpy( (void*)Estate, (void*)Astate, 25*4); \
77
- thetaRhoPiChiIota(i, E, A) \
78
- ++i; \
79
- } \
80
- for( /* empty */; i<22; i+=2) { \
81
- thetaRhoPiChiIota(i , A, E) \
82
- thetaRhoPiChiIota(i+1, E, A) \
83
- }
@@ -1,88 +0,0 @@
1
- /*
2
- The eXtended Keccak Code Package (XKCP)
3
- https://github.com/XKCP/XKCP
4
-
5
- The Keccak-p permutations, designed by Guido Bertoni, Joan Daemen, Michaël Peeters and Gilles Van Assche.
6
-
7
- Implementation by Ronny Van Keer, hereby denoted as "the implementer".
8
-
9
- For more information, feedback or questions, please refer to the Keccak Team website:
10
- https://keccak.team/
11
-
12
- To the extent possible under law, the implementer has waived all copyright
13
- and related or neighboring rights to the source code in this file.
14
- http://creativecommons.org/publicdomain/zero/1.0/
15
- */
16
-
17
- #if (defined(KeccakP800_fullUnrolling))
18
- #define rounds22 \
19
- prepareTheta \
20
- thetaRhoPiChiIotaPrepareTheta( 0, A, E) \
21
- thetaRhoPiChiIotaPrepareTheta( 1, E, A) \
22
- thetaRhoPiChiIotaPrepareTheta( 2, A, E) \
23
- thetaRhoPiChiIotaPrepareTheta( 3, E, A) \
24
- thetaRhoPiChiIotaPrepareTheta( 4, A, E) \
25
- thetaRhoPiChiIotaPrepareTheta( 5, E, A) \
26
- thetaRhoPiChiIotaPrepareTheta( 6, A, E) \
27
- thetaRhoPiChiIotaPrepareTheta( 7, E, A) \
28
- thetaRhoPiChiIotaPrepareTheta( 8, A, E) \
29
- thetaRhoPiChiIotaPrepareTheta( 9, E, A) \
30
- thetaRhoPiChiIotaPrepareTheta(10, A, E) \
31
- thetaRhoPiChiIotaPrepareTheta(11, E, A) \
32
- thetaRhoPiChiIotaPrepareTheta(12, A, E) \
33
- thetaRhoPiChiIotaPrepareTheta(13, E, A) \
34
- thetaRhoPiChiIotaPrepareTheta(14, A, E) \
35
- thetaRhoPiChiIotaPrepareTheta(15, E, A) \
36
- thetaRhoPiChiIotaPrepareTheta(16, A, E) \
37
- thetaRhoPiChiIotaPrepareTheta(17, E, A) \
38
- thetaRhoPiChiIotaPrepareTheta(18, A, E) \
39
- thetaRhoPiChiIotaPrepareTheta(19, E, A) \
40
- thetaRhoPiChiIotaPrepareTheta(20, A, E) \
41
- thetaRhoPiChiIota(21, E, A) \
42
-
43
- #define rounds12 \
44
- prepareTheta \
45
- thetaRhoPiChiIotaPrepareTheta(10, A, E) \
46
- thetaRhoPiChiIotaPrepareTheta(11, E, A) \
47
- thetaRhoPiChiIotaPrepareTheta(12, A, E) \
48
- thetaRhoPiChiIotaPrepareTheta(13, E, A) \
49
- thetaRhoPiChiIotaPrepareTheta(14, A, E) \
50
- thetaRhoPiChiIotaPrepareTheta(15, E, A) \
51
- thetaRhoPiChiIotaPrepareTheta(16, A, E) \
52
- thetaRhoPiChiIotaPrepareTheta(17, E, A) \
53
- thetaRhoPiChiIotaPrepareTheta(18, A, E) \
54
- thetaRhoPiChiIotaPrepareTheta(19, E, A) \
55
- thetaRhoPiChiIotaPrepareTheta(20, A, E) \
56
- thetaRhoPiChiIota(21, E, A) \
57
-
58
- #elif (KeccakP800_unrolling == 2)
59
- #define rounds22 \
60
- prepareTheta \
61
- for(i=0; i<22; i+=2) { \
62
- thetaRhoPiChiIotaPrepareTheta(i , A, E) \
63
- thetaRhoPiChiIotaPrepareTheta(i+1, E, A) \
64
- } \
65
-
66
- #define rounds12 \
67
- prepareTheta \
68
- for(i=10; i<22; i+=2) { \
69
- thetaRhoPiChiIotaPrepareTheta(i , A, E) \
70
- thetaRhoPiChiIotaPrepareTheta(i+1, E, A) \
71
- } \
72
-
73
- #else
74
- #error "KeccakP800_unrolling is not correctly specified!"
75
- #endif
76
-
77
- #define roundsN(A,E,__nrounds) \
78
- prepareTheta \
79
- i = 22 - (__nrounds); \
80
- if ((i&1) != 0) { \
81
- memcpy( (void*)Estate, (void*)Astate, 25*4); \
82
- thetaRhoPiChiIotaPrepareTheta(i, E, A) \
83
- ++i; \
84
- } \
85
- for( /* empty */; i<22; i+=2) { \
86
- thetaRhoPiChiIotaPrepareTheta(i , A, E) \
87
- thetaRhoPiChiIotaPrepareTheta(i+1, E, A) \
88
- }
@@ -1,7 +0,0 @@
1
- /*
2
- This file defines some parameters of the implementation in the parent directory.
3
- */
4
-
5
- #define KeccakP800_implementation_config "lane complementing, 2 rounds unrolled"
6
- #define KeccakP800_unrolling 2
7
- #define KeccakP800_useLaneComplementing
@@ -1,7 +0,0 @@
1
- /*
2
- This file defines some parameters of the implementation in the parent directory.
3
- */
4
-
5
- #define KeccakP800_implementation_config "lane complementing, all rounds unrolled"
6
- #define KeccakP800_fullUnrolling
7
- #define KeccakP800_useLaneComplementing
@@ -1,7 +0,0 @@
1
- /*
2
- This file defines some parameters of the implementation in the parent directory.
3
- */
4
-
5
- #define KeccakP800_implementation_config "alternate flavor, 2 rounds unrolled"
6
- #define KeccakP800_unrolling 2
7
- #define KeccakP800_useFlavorBis
@@ -1,7 +0,0 @@
1
- /*
2
- This file defines some parameters of the implementation in the parent directory.
3
- */
4
-
5
- #define KeccakP800_implementation_config "alternate flavor, all rounds unrolled"
6
- #define KeccakP800_fullUnrolling
7
- #define KeccakP800_useFlavorBis