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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88387c3d71dddd53f518435cda9fe7ef93873c78aee3524fa379316ede192b67
4
- data.tar.gz: 51dbf805b8f5f358626f461e5bd0fbc4a32e5608e467d2686a36805ad2c035fc
3
+ metadata.gz: 494bade116ed3511f1182ba5e2150357053921a39e6e55a62d234746d78b5185
4
+ data.tar.gz: 48fcdbe91ef7ef8390eccde97841e56b1231a069f3cca87588d3488973dbe13b
5
5
  SHA512:
6
- metadata.gz: 43d2fefcbc944133c1a16d658591f5e5ab631fa869e51351aa16aac750e2365880f2f8f7db0e5a0ccc18dcd355f22ec233bd8b4021632f98d7cdc5f26bc3b76e
7
- data.tar.gz: 2034731d336c5fb34270abc4becd1be7e8182a2f87c4508cfbca5633ff25ed2b3db1f66245833d7aef3ccd6225b8328af30d43bda4559cc64fadd65c1bfc086c
6
+ metadata.gz: 35cbf325fec5072a28430acf27ce4f2e4fd59dc82f384408ab8627b0d5fd2ff438e8620abcbbd070608bd510a4e19e1dfdb5bfc7bfed6a520f52e1ee31066df7
7
+ data.tar.gz: e15cc91881a43fc00549dda67bc1559bcb29b7f6f56caabb88900b2c7e24e1f73dabaa06574f842148e15156899a6b9cffd2695bc575188d76731d53caa95fac
data/LICENSE.XKCP CHANGED
@@ -100,26 +100,6 @@ For XKCP/Standalone/CompactFIPS202/C/genKAT.c, XKCP/tests/UnitTests/genKAT.c and
100
100
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
101
101
 
102
102
 
103
- For XKCP/support/Kernel-PMU/enable_arm_pmu.c (*not* used in libXKCP, UnitTests, Benchmarks nor KeccakSum):
104
-
105
- Kernel-PMU
106
- Enabling user-mode access to the performance monitor unit (PMU) on ARMv8 Aarch64 and ARMv7
107
- Copyright (C) 2019 Bruno Pairault
108
-
109
- This program is free software: you can redistribute it and/or modify
110
- it under the terms of the GNU General Public License as published by
111
- the Free Software Foundation, either version 3 of the License, or
112
- (at your option) any later version.
113
-
114
- This program is distributed in the hope that it will be useful,
115
- but WITHOUT ANY WARRANTY; without even the implied warranty of
116
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
117
- GNU General Public License for more details.
118
-
119
- You should have received a copy of the GNU General Public License
120
- along with this program. If not, see <http://www.gnu.org/licenses/>.
121
-
122
-
123
103
  For XKCP/tests/Benchmarks/timing.h (used only in Benchmarks):
124
104
 
125
105
  Copyright 2020 Google Inc.
data/README.md CHANGED
@@ -18,8 +18,8 @@ This gem can be configured to compile differently based on the target specified.
18
18
 
19
19
  The current target implementations are `armv6`, `armv6m`, `armv7a`, `armv7m`,
20
20
  `armv8a`, `avr8`, `avx`, `avx2`, `avx2noasm`, `avx512`, `avx512noasm`,
21
- `compact`, `generic32`, `generic32lc`, `generic64`, `generic64lc`, `reference`,
22
- `reference32bits`, `ssse3`, and `xop`, with `compact` being the default target.
21
+ `compact`, `generic32`, `generic32lc`, `generic64`, `generic64lc`, `ssse3`, and
22
+ `xop`, with `compact` being the default target.
23
23
 
24
24
  Details on what architectures these targets support are provided in the
25
25
  [README.markdown](https://github.com/XKCP/XKCP/blob/master/README.markdown) file
@@ -98,7 +98,7 @@ The gem can also be tested from source using the following commands:
98
98
  cd digest-kangarootwelve-ruby
99
99
 
100
100
  # Optionally checkout a tagged version.
101
- git checkout v0.4.7
101
+ git checkout v0.4.8
102
102
 
103
103
  # Run bundle
104
104
  bundle
@@ -44,7 +44,7 @@ http://creativecommons.org/publicdomain/zero/1.0/
44
44
 
45
45
  #define ParallelSpongeFastLoop( Parallellism ) \
46
46
  while ( inLen >= Parallellism * chunkSize ) { \
47
- ALIGN(KeccakP1600times##Parallellism##_statesAlignment) unsigned char states[KeccakP1600times##Parallellism##_statesSizeInBytes]; \
47
+ KeccakP1600times##Parallellism##_states states; \
48
48
  unsigned char intermediate[Parallellism*capacityInBytes]; \
49
49
  unsigned int localBlockLen = chunkSize; \
50
50
  const unsigned char * localInput = input; \
@@ -52,49 +52,49 @@ http://creativecommons.org/publicdomain/zero/1.0/
52
52
  unsigned int fastLoopOffset; \
53
53
  \
54
54
  KeccakP1600times##Parallellism##_StaticInitialize(); \
55
- KeccakP1600times##Parallellism##_InitializeAll(states); \
56
- fastLoopOffset = (unsigned int)KeccakP1600times##Parallellism##_12rounds_FastLoop_Absorb(states, rateInLanes, chunkSize / laneSize, rateInLanes, localInput, Parallellism * chunkSize); \
55
+ KeccakP1600times##Parallellism##_InitializeAll(&states); \
56
+ fastLoopOffset = (unsigned int)KeccakP1600times##Parallellism##_12rounds_FastLoop_Absorb(&states, rateInLanes, chunkSize / laneSize, rateInLanes, localInput, Parallellism * chunkSize); \
57
57
  localBlockLen -= fastLoopOffset; \
58
58
  localInput += fastLoopOffset; \
59
59
  for ( i = 0; i < Parallellism; ++i, localInput += chunkSize ) { \
60
- KeccakP1600times##Parallellism##_AddBytes(states, i, localInput, 0, localBlockLen); \
61
- KeccakP1600times##Parallellism##_AddByte(states, i, suffixLeaf, localBlockLen); \
62
- KeccakP1600times##Parallellism##_AddByte(states, i, 0x80, rateInBytes-1); \
60
+ KeccakP1600times##Parallellism##_AddBytes(&states, i, localInput, 0, localBlockLen); \
61
+ KeccakP1600times##Parallellism##_AddByte(&states, i, suffixLeaf, localBlockLen); \
62
+ KeccakP1600times##Parallellism##_AddByte(&states, i, 0x80, rateInBytes-1); \
63
63
  } \
64
- KeccakP1600times##Parallellism##_PermuteAll_12rounds(states); \
64
+ KeccakP1600times##Parallellism##_PermuteAll_12rounds(&states); \
65
65
  input += Parallellism * chunkSize; \
66
66
  inLen -= Parallellism * chunkSize; \
67
67
  ktInstance->blockNumber += Parallellism; \
68
- KeccakP1600times##Parallellism##_ExtractLanesAll(states, intermediate, capacityInLanes, capacityInLanes ); \
68
+ KeccakP1600times##Parallellism##_ExtractLanesAll(&states, intermediate, capacityInLanes, capacityInLanes ); \
69
69
  if (TurboSHAKE_Absorb(&ktInstance->finalNode, intermediate, Parallellism * capacityInBytes) != 0) return 1; \
70
70
  }
71
71
 
72
72
  #define ParallelSpongeLoop( Parallellism ) \
73
73
  while ( inLen >= Parallellism * chunkSize ) { \
74
- ALIGN(KeccakP1600times##Parallellism##_statesAlignment) unsigned char states[KeccakP1600times##Parallellism##_statesSizeInBytes]; \
74
+ KeccakP1600times##Parallellism##_states states; \
75
75
  unsigned char intermediate[Parallellism*capacityInBytes]; \
76
76
  unsigned int localBlockLen = chunkSize; \
77
77
  const unsigned char * localInput = input; \
78
78
  unsigned int i; \
79
79
  \
80
80
  KeccakP1600times##Parallellism##_StaticInitialize(); \
81
- KeccakP1600times##Parallellism##_InitializeAll(states); \
81
+ KeccakP1600times##Parallellism##_InitializeAll(&states); \
82
82
  while(localBlockLen >= rateInBytes) { \
83
- KeccakP1600times##Parallellism##_AddLanesAll(states, localInput, rateInLanes, chunkSize / laneSize); \
84
- KeccakP1600times##Parallellism##_PermuteAll_12rounds(states); \
83
+ KeccakP1600times##Parallellism##_AddLanesAll(&states, localInput, rateInLanes, chunkSize / laneSize); \
84
+ KeccakP1600times##Parallellism##_PermuteAll_12rounds(&states); \
85
85
  localBlockLen -= rateInBytes; \
86
86
  localInput += rateInBytes; \
87
87
  } \
88
88
  for ( i = 0; i < Parallellism; ++i, localInput += chunkSize ) { \
89
- KeccakP1600times##Parallellism##_AddBytes(states, i, localInput, 0, localBlockLen); \
90
- KeccakP1600times##Parallellism##_AddByte(states, i, suffixLeaf, localBlockLen); \
91
- KeccakP1600times##Parallellism##_AddByte(states, i, 0x80, rateInBytes-1); \
89
+ KeccakP1600times##Parallellism##_AddBytes(&states, i, localInput, 0, localBlockLen); \
90
+ KeccakP1600times##Parallellism##_AddByte(&states, i, suffixLeaf, localBlockLen); \
91
+ KeccakP1600times##Parallellism##_AddByte(&states, i, 0x80, rateInBytes-1); \
92
92
  } \
93
- KeccakP1600times##Parallellism##_PermuteAll_12rounds(states); \
93
+ KeccakP1600times##Parallellism##_PermuteAll_12rounds(&states); \
94
94
  input += Parallellism * chunkSize; \
95
95
  inLen -= Parallellism * chunkSize; \
96
96
  ktInstance->blockNumber += Parallellism; \
97
- KeccakP1600times##Parallellism##_ExtractLanesAll(states, intermediate, capacityInLanes, capacityInLanes ); \
97
+ KeccakP1600times##Parallellism##_ExtractLanesAll(&states, intermediate, capacityInLanes, capacityInLanes ); \
98
98
  if (TurboSHAKE_Absorb(&ktInstance->finalNode, intermediate, Parallellism * capacityInBytes) != 0) return 1; \
99
99
  }
100
100
 
@@ -175,7 +175,7 @@ int KangarooTwelve_Update(KangarooTwelve_Instance *ktInstance, const unsigned ch
175
175
  }
176
176
  }
177
177
 
178
- #if defined(KeccakP1600times8_implementation) && !defined(KeccakP1600times8_isFallback)
178
+ #if defined(KeccakP1600times8_implementation)
179
179
  #if defined(KeccakP1600times8_K12ProcessLeaves_supported)
180
180
  ProcessLeaves( 8 )
181
181
  #elif defined(KeccakP1600times8_12rounds_FastLoop_supported)
@@ -185,7 +185,7 @@ int KangarooTwelve_Update(KangarooTwelve_Instance *ktInstance, const unsigned ch
185
185
  #endif
186
186
  #endif
187
187
 
188
- #if defined(KeccakP1600times4_implementation) && !defined(KeccakP1600times4_isFallback)
188
+ #if defined(KeccakP1600times4_implementation)
189
189
  #if defined(KeccakP1600times4_K12ProcessLeaves_supported)
190
190
  ProcessLeaves( 4 )
191
191
  #elif defined(KeccakP1600times4_12rounds_FastLoop_supported)
@@ -195,7 +195,7 @@ int KangarooTwelve_Update(KangarooTwelve_Instance *ktInstance, const unsigned ch
195
195
  #endif
196
196
  #endif
197
197
 
198
- #if defined(KeccakP1600times2_implementation) && !defined(KeccakP1600times2_isFallback)
198
+ #if defined(KeccakP1600times2_implementation)
199
199
  #if defined(KeccakP1600times2_K12ProcessLeaves_supported)
200
200
  ProcessLeaves( 2 )
201
201
  #elif defined(KeccakP1600times2_12rounds_FastLoop_supported)
@@ -79,6 +79,7 @@ http://creativecommons.org/publicdomain/zero/1.0/
79
79
 
80
80
  #define prefix KeccakWidth1600
81
81
  #define SnP KeccakP1600
82
+ #define SnP_state KeccakP1600_state
82
83
  #define SnP_width 1600
83
84
  #define SnP_Permute KeccakP1600_Permute_24rounds
84
85
  #if defined(KeccakF1600_FastLoop_supported)
@@ -87,6 +88,7 @@ http://creativecommons.org/publicdomain/zero/1.0/
87
88
  #include "KeccakSponge.inc"
88
89
  #undef prefix
89
90
  #undef SnP
91
+ #undef SnP_state
90
92
  #undef SnP_width
91
93
  #undef SnP_Permute
92
94
  #undef SnP_FastLoop_Absorb
@@ -24,9 +24,9 @@ http://creativecommons.org/publicdomain/zero/1.0/
24
24
  #include "align.h"
25
25
  #include "config.h"
26
26
 
27
- #define XKCP_DeclareSpongeStructure(prefix, size, alignment) \
28
- ALIGN(alignment) typedef struct prefix##_SpongeInstanceStruct { \
29
- unsigned char state[size]; \
27
+ #define XKCP_DeclareSpongeStructure(prefix, state_t) \
28
+ typedef struct prefix##_SpongeInstanceStruct { \
29
+ state_t state; \
30
30
  unsigned int rate; \
31
31
  unsigned int byteIOIndex; \
32
32
  int squeezing; \
@@ -62,7 +62,7 @@ http://creativecommons.org/publicdomain/zero/1.0/
62
62
 
63
63
  #ifdef XKCP_has_KeccakP1600
64
64
  #include "KeccakP-1600-SnP.h"
65
- XKCP_DeclareSpongeStructure(KeccakWidth1600, KeccakP1600_stateSizeInBytes, KeccakP1600_stateAlignment)
65
+ XKCP_DeclareSpongeStructure(KeccakWidth1600, KeccakP1600_state)
66
66
  XKCP_DeclareSpongeFunctions(KeccakWidth1600)
67
67
  #define XKCP_has_Sponge_Keccak_width1600
68
68
  #endif
@@ -24,8 +24,6 @@ http://creativecommons.org/publicdomain/zero/1.0/
24
24
  #define SpongeAbsorbLastFewBits JOIN(prefix, _SpongeAbsorbLastFewBits)
25
25
  #define SpongeSqueeze JOIN(prefix, _SpongeSqueeze)
26
26
 
27
- #define SnP_stateSizeInBytes JOIN(SnP, _stateSizeInBytes)
28
- #define SnP_stateAlignment JOIN(SnP, _stateAlignment)
29
27
  #define SnP_StaticInitialize JOIN(SnP, _StaticInitialize)
30
28
  #define SnP_Initialize JOIN(SnP, _Initialize)
31
29
  #define SnP_AddByte JOIN(SnP, _AddByte)
@@ -34,7 +32,7 @@ http://creativecommons.org/publicdomain/zero/1.0/
34
32
 
35
33
  int Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input, size_t inputByteLen, unsigned char suffix, unsigned char *output, size_t outputByteLen)
36
34
  {
37
- ALIGN(SnP_stateAlignment) unsigned char state[SnP_stateSizeInBytes];
35
+ SnP_state state;
38
36
  unsigned int partialBlock;
39
37
  const unsigned char *curInput = input;
40
38
  unsigned char *curOutput = output;
@@ -49,14 +47,14 @@ int Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input,
49
47
 
50
48
  /* Initialize the state */
51
49
  SnP_StaticInitialize();
52
- SnP_Initialize(state);
50
+ SnP_Initialize(&state);
53
51
 
54
52
  /* First, absorb whole blocks */
55
53
  #ifdef SnP_FastLoop_Absorb
56
54
  if (((rateInBytes % (SnP_width/200)) == 0) && (inputByteLen >= rateInBytes)) {
57
55
  /* fast lane: whole lane rate */
58
56
  size_t j;
59
- j = SnP_FastLoop_Absorb(state, rateInBytes/(SnP_width/200), curInput, inputByteLen);
57
+ j = SnP_FastLoop_Absorb(&state, rateInBytes/(SnP_width/200), curInput, inputByteLen);
60
58
  curInput += j;
61
59
  inputByteLen -= j;
62
60
  }
@@ -65,8 +63,8 @@ int Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input,
65
63
  #ifdef KeccakReference
66
64
  displayBytes(1, "Block to be absorbed", curInput, rateInBytes);
67
65
  #endif
68
- SnP_AddBytes(state, curInput, 0, rateInBytes);
69
- SnP_Permute(state);
66
+ SnP_AddBytes(&state, curInput, 0, rateInBytes);
67
+ SnP_Permute(&state);
70
68
  curInput += rateInBytes;
71
69
  inputByteLen -= rateInBytes;
72
70
  }
@@ -76,7 +74,7 @@ int Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input,
76
74
  #ifdef KeccakReference
77
75
  displayBytes(1, "Block to be absorbed (part)", curInput, partialBlock);
78
76
  #endif
79
- SnP_AddBytes(state, curInput, 0, partialBlock);
77
+ SnP_AddBytes(&state, curInput, 0, partialBlock);
80
78
 
81
79
  /* Finally, absorb the suffix */
82
80
  #ifdef KeccakReference
@@ -87,12 +85,12 @@ int Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input,
87
85
  }
88
86
  #endif
89
87
  /* Last few bits, whose delimiter coincides with first bit of padding */
90
- SnP_AddByte(state, suffix, partialBlock);
88
+ SnP_AddByte(&state, suffix, partialBlock);
91
89
  /* If the first bit of padding is at position rate-1, we need a whole new block for the second bit of padding */
92
90
  if ((suffix >= 0x80) && (partialBlock == (rateInBytes-1)))
93
- SnP_Permute(state);
91
+ SnP_Permute(&state);
94
92
  /* Second bit of padding */
95
- SnP_AddByte(state, 0x80, rateInBytes-1);
93
+ SnP_AddByte(&state, 0x80, rateInBytes-1);
96
94
  #ifdef KeccakReference
97
95
  {
98
96
  unsigned char block[SnP_width/8];
@@ -101,15 +99,15 @@ int Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input,
101
99
  displayBytes(1, "Second bit of padding", block, rateInBytes);
102
100
  }
103
101
  #endif
104
- SnP_Permute(state);
102
+ SnP_Permute(&state);
105
103
  #ifdef KeccakReference
106
104
  displayText(1, "--- Switching to squeezing phase ---");
107
105
  #endif
108
106
 
109
107
  /* First, output whole blocks */
110
108
  while(outputByteLen > (size_t)rateInBytes) {
111
- SnP_ExtractBytes(state, curOutput, 0, rateInBytes);
112
- SnP_Permute(state);
109
+ SnP_ExtractBytes(&state, curOutput, 0, rateInBytes);
110
+ SnP_Permute(&state);
113
111
  #ifdef KeccakReference
114
112
  displayBytes(1, "Squeezed block", curOutput, rateInBytes);
115
113
  #endif
@@ -119,7 +117,7 @@ int Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input,
119
117
 
120
118
  /* Finally, output what remains */
121
119
  partialBlock = (unsigned int)outputByteLen;
122
- SnP_ExtractBytes(state, curOutput, 0, partialBlock);
120
+ SnP_ExtractBytes(&state, curOutput, 0, partialBlock);
123
121
  #ifdef KeccakReference
124
122
  displayBytes(1, "Squeezed block (part)", curOutput, partialBlock);
125
123
  #endif
@@ -138,7 +136,7 @@ int SpongeInitialize(SpongeInstance *instance, unsigned int rate, unsigned int c
138
136
  if ((rate <= 0) || (rate > SnP_width) || ((rate % 8) != 0))
139
137
  return 1;
140
138
  SnP_StaticInitialize();
141
- SnP_Initialize(instance->state);
139
+ SnP_Initialize(&instance->state);
142
140
  instance->rate = rate;
143
141
  instance->byteIOIndex = 0;
144
142
  instance->squeezing = 0;
@@ -166,7 +164,7 @@ int SpongeAbsorb(SpongeInstance *instance, const unsigned char *data, size_t dat
166
164
  /* processing full blocks first */
167
165
  if ((rateInBytes % (SnP_width/200)) == 0) {
168
166
  /* fast lane: whole lane rate */
169
- j = SnP_FastLoop_Absorb(instance->state, rateInBytes/(SnP_width/200), curData, dataByteLen - i);
167
+ j = SnP_FastLoop_Absorb(&instance->state, rateInBytes/(SnP_width/200), curData, dataByteLen - i);
170
168
  i += j;
171
169
  curData += j;
172
170
  }
@@ -176,8 +174,8 @@ int SpongeAbsorb(SpongeInstance *instance, const unsigned char *data, size_t dat
176
174
  #ifdef KeccakReference
177
175
  displayBytes(1, "Block to be absorbed", curData, rateInBytes);
178
176
  #endif
179
- SnP_AddBytes(instance->state, curData, 0, rateInBytes);
180
- SnP_Permute(instance->state);
177
+ SnP_AddBytes(&instance->state, curData, 0, rateInBytes);
178
+ SnP_Permute(&instance->state);
181
179
  curData+=rateInBytes;
182
180
  }
183
181
  i = dataByteLen - j;
@@ -196,11 +194,11 @@ int SpongeAbsorb(SpongeInstance *instance, const unsigned char *data, size_t dat
196
194
  #endif
197
195
  i += partialBlock;
198
196
 
199
- SnP_AddBytes(instance->state, curData, instance->byteIOIndex, partialBlock);
197
+ SnP_AddBytes(&instance->state, curData, instance->byteIOIndex, partialBlock);
200
198
  curData += partialBlock;
201
199
  instance->byteIOIndex += partialBlock;
202
200
  if (instance->byteIOIndex == rateInBytes) {
203
- SnP_Permute(instance->state);
201
+ SnP_Permute(&instance->state);
204
202
  instance->byteIOIndex = 0;
205
203
  }
206
204
  }
@@ -227,12 +225,12 @@ int SpongeAbsorbLastFewBits(SpongeInstance *instance, unsigned char delimitedDat
227
225
  }
228
226
  #endif
229
227
  /* Last few bits, whose delimiter coincides with first bit of padding */
230
- SnP_AddByte(instance->state, delimitedData, instance->byteIOIndex);
228
+ SnP_AddByte(&instance->state, delimitedData, instance->byteIOIndex);
231
229
  /* If the first bit of padding is at position rate-1, we need a whole new block for the second bit of padding */
232
230
  if ((delimitedData >= 0x80) && (instance->byteIOIndex == (rateInBytes-1)))
233
- SnP_Permute(instance->state);
231
+ SnP_Permute(&instance->state);
234
232
  /* Second bit of padding */
235
- SnP_AddByte(instance->state, 0x80, rateInBytes-1);
233
+ SnP_AddByte(&instance->state, 0x80, rateInBytes-1);
236
234
  #ifdef KeccakReference
237
235
  {
238
236
  unsigned char block[SnP_width/8];
@@ -241,7 +239,7 @@ int SpongeAbsorbLastFewBits(SpongeInstance *instance, unsigned char delimitedDat
241
239
  displayBytes(1, "Second bit of padding", block, rateInBytes);
242
240
  }
243
241
  #endif
244
- SnP_Permute(instance->state);
242
+ SnP_Permute(&instance->state);
245
243
  instance->byteIOIndex = 0;
246
244
  instance->squeezing = 1;
247
245
  #ifdef KeccakReference
@@ -267,8 +265,8 @@ int SpongeSqueeze(SpongeInstance *instance, unsigned char *data, size_t dataByte
267
265
  while(i < dataByteLen) {
268
266
  if ((instance->byteIOIndex == rateInBytes) && (dataByteLen-i >= rateInBytes)) {
269
267
  for(j=dataByteLen-i; j>=rateInBytes; j-=rateInBytes) {
270
- SnP_Permute(instance->state);
271
- SnP_ExtractBytes(instance->state, curData, 0, rateInBytes);
268
+ SnP_Permute(&instance->state);
269
+ SnP_ExtractBytes(&instance->state, curData, 0, rateInBytes);
272
270
  #ifdef KeccakReference
273
271
  displayBytes(1, "Squeezed block", curData, rateInBytes);
274
272
  #endif
@@ -279,7 +277,7 @@ int SpongeSqueeze(SpongeInstance *instance, unsigned char *data, size_t dataByte
279
277
  else {
280
278
  /* normal lane: using the message queue */
281
279
  if (instance->byteIOIndex == rateInBytes) {
282
- SnP_Permute(instance->state);
280
+ SnP_Permute(&instance->state);
283
281
  instance->byteIOIndex = 0;
284
282
  }
285
283
  if (dataByteLen-i > rateInBytes-instance->byteIOIndex)
@@ -288,7 +286,7 @@ int SpongeSqueeze(SpongeInstance *instance, unsigned char *data, size_t dataByte
288
286
  partialBlock = (unsigned int)(dataByteLen - i);
289
287
  i += partialBlock;
290
288
 
291
- SnP_ExtractBytes(instance->state, curData, instance->byteIOIndex, partialBlock);
289
+ SnP_ExtractBytes(&instance->state, curData, instance->byteIOIndex, partialBlock);
292
290
  #ifdef KeccakReference
293
291
  displayBytes(1, "Squeezed block (part)", curData, partialBlock);
294
292
  #endif
@@ -307,8 +305,6 @@ int SpongeSqueeze(SpongeInstance *instance, unsigned char *data, size_t dataByte
307
305
  #undef SpongeAbsorb
308
306
  #undef SpongeAbsorbLastFewBits
309
307
  #undef SpongeSqueeze
310
- #undef SnP_stateSizeInBytes
311
- #undef SnP_stateAlignment
312
308
  #undef SnP_StaticInitialize
313
309
  #undef SnP_Initialize
314
310
  #undef SnP_AddByte
@@ -21,6 +21,7 @@ http://creativecommons.org/publicdomain/zero/1.0/
21
21
 
22
22
  #define prefix TurboSHAKE
23
23
  #define SnP KeccakP1600
24
+ #define SnP_state KeccakP1600_state
24
25
  #define SnP_width 1600
25
26
  #define SnP_Permute KeccakP1600_Permute_12rounds
26
27
  #if defined(KeccakP1600_12rounds_FastLoop_supported)
@@ -29,6 +30,7 @@ http://creativecommons.org/publicdomain/zero/1.0/
29
30
  #include "KeccakSponge.inc"
30
31
  #undef prefix
31
32
  #undef SnP
33
+ #undef SnP_state
32
34
  #undef SnP_width
33
35
  #undef SnP_Permute
34
36
  #undef SnP_FastLoop_Absorb
@@ -24,7 +24,7 @@ http://creativecommons.org/publicdomain/zero/1.0/
24
24
 
25
25
  #ifdef XKCP_has_KeccakP1600
26
26
  #include "KeccakP-1600-SnP.h"
27
- XKCP_DeclareSpongeStructure(TurboSHAKE, KeccakP1600_stateSizeInBytes, KeccakP1600_stateAlignment)
27
+ XKCP_DeclareSpongeStructure(TurboSHAKE, KeccakP1600_state)
28
28
 
29
29
  typedef TurboSHAKE_SpongeInstance TurboSHAKE_Instance;
30
30
 
@@ -21,21 +21,27 @@ Please refer to SnP-documentation.h for more details.
21
21
  #ifndef _KeccakP_1600_SnP_h_
22
22
  #define _KeccakP_1600_SnP_h_
23
23
 
24
+ #include <stdint.h>
25
+
26
+ typedef struct {
27
+ uint32_t A[50];
28
+ } KeccakP1600_plain32_state;
29
+
30
+ typedef KeccakP1600_plain32_state KeccakP1600_state;
31
+
24
32
  #define KeccakP1600_implementation "32-bit bit-interleaved optimized ARM assembler implementation"
25
- #define KeccakP1600_stateSizeInBytes 200
26
- #define KeccakP1600_stateAlignment 4
27
33
 
28
34
  /* void KeccakP1600_StaticInitialize( void ); */
29
35
  #define KeccakP1600_StaticInitialize()
30
- void KeccakP1600_Initialize(void *state);
31
- void KeccakP1600_AddByte(void *state, unsigned char data, unsigned int offset);
32
- void KeccakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
33
- void KeccakP1600_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
34
- void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount);
35
- void KeccakP1600_Permute_Nrounds(void *state, unsigned int nrounds);
36
- void KeccakP1600_Permute_12rounds(void *state);
37
- void KeccakP1600_Permute_24rounds(void *state);
38
- void KeccakP1600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned int length);
39
- void KeccakP1600_ExtractAndAddBytes(const void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
36
+ void KeccakP1600_Initialize(KeccakP1600_plain32_state *state);
37
+ void KeccakP1600_AddByte(KeccakP1600_plain32_state *state, unsigned char data, unsigned int offset);
38
+ void KeccakP1600_AddBytes(KeccakP1600_plain32_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
39
+ void KeccakP1600_OverwriteBytes(KeccakP1600_plain32_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
40
+ void KeccakP1600_OverwriteWithZeroes(KeccakP1600_plain32_state *state, unsigned int byteCount);
41
+ void KeccakP1600_Permute_Nrounds(KeccakP1600_plain32_state *state, unsigned int nrounds);
42
+ void KeccakP1600_Permute_12rounds(KeccakP1600_plain32_state *state);
43
+ void KeccakP1600_Permute_24rounds(KeccakP1600_plain32_state *state);
44
+ void KeccakP1600_ExtractBytes(const KeccakP1600_plain32_state *state, unsigned char *data, unsigned int offset, unsigned int length);
45
+ void KeccakP1600_ExtractAndAddBytes(const KeccakP1600_plain32_state *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
40
46
 
41
47
  #endif
@@ -21,22 +21,30 @@ Please refer to SnP-documentation.h for more details.
21
21
  #ifndef _KeccakP_1600_SnP_h_
22
22
  #define _KeccakP_1600_SnP_h_
23
23
 
24
+ #include <stdint.h>
25
+ #include "align.h"
26
+
27
+ typedef struct {
28
+ ALIGN(32) uint64_t A[25];
29
+ } KeccakP1600_align256plain64_state;
30
+
31
+ typedef KeccakP1600_align256plain64_state KeccakP1600_state;
32
+
24
33
  #define KeccakP1600_implementation "64-bit optimized ARM assembler implementation"
25
- #define KeccakP1600_stateSizeInBytes 200
26
34
  #define KeccakP1600_stateAlignment 32
27
35
 
28
36
  /* void KeccakP1600_StaticInitialize( void ); */
29
37
  #define KeccakP1600_StaticInitialize()
30
- void KeccakP1600_Initialize(void *state);
31
- /* void KeccakP1600_AddByte(void *state, unsigned char data, unsigned int offset); */
38
+ void KeccakP1600_Initialize(KeccakP1600_align256plain64_state *state);
39
+ /* void KeccakP1600_AddByte(KeccakP1600_align256plain64_state *state, unsigned char data, unsigned int offset); */
32
40
  #define KeccakP1600_AddByte(argS, argData, argOffset) ((unsigned char*)argS)[argOffset] ^= (argData)
33
- void KeccakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
34
- void KeccakP1600_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
35
- void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount);
36
- void KeccakP1600_Permute_Nrounds(void *state, unsigned int nrounds);
37
- void KeccakP1600_Permute_12rounds(void *state);
38
- void KeccakP1600_Permute_24rounds(void *state);
39
- void KeccakP1600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned int length);
40
- void KeccakP1600_ExtractAndAddBytes(const void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
41
+ void KeccakP1600_AddBytes(KeccakP1600_align256plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
42
+ void KeccakP1600_OverwriteBytes(KeccakP1600_align256plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
43
+ void KeccakP1600_OverwriteWithZeroes(KeccakP1600_align256plain64_state *state, unsigned int byteCount);
44
+ void KeccakP1600_Permute_Nrounds(KeccakP1600_align256plain64_state *state, unsigned int nrounds);
45
+ void KeccakP1600_Permute_12rounds(KeccakP1600_align256plain64_state *state);
46
+ void KeccakP1600_Permute_24rounds(KeccakP1600_align256plain64_state *state);
47
+ void KeccakP1600_ExtractBytes(const KeccakP1600_align256plain64_state *state, unsigned char *data, unsigned int offset, unsigned int length);
48
+ void KeccakP1600_ExtractAndAddBytes(const KeccakP1600_align256plain64_state *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
41
49
 
42
50
  #endif
@@ -21,22 +21,28 @@ Please refer to SnP-documentation.h for more details.
21
21
  #ifndef _KeccakP_1600_SnP_h_
22
22
  #define _KeccakP_1600_SnP_h_
23
23
 
24
+ #include <stdint.h>
25
+
26
+ typedef struct {
27
+ uint8_t A[200];
28
+ } KeccakP1600_plain8_state;
29
+
30
+ typedef KeccakP1600_plain8_state KeccakP1600_state;
31
+
24
32
  #define KeccakP1600_implementation "8-bit optimized AVR assembler implementation"
25
- #define KeccakP1600_stateSizeInBytes 200
26
- #define KeccakP1600_stateAlignment 8
27
33
 
28
34
  void KeccakP1600_StaticInitialize( void );
29
35
  /* #define KeccakP1600_StaticInitialize() */
30
- void KeccakP1600_Initialize(void *state);
31
- void KeccakP1600_AddByte(void *state, unsigned char data, unsigned int offset);
36
+ void KeccakP1600_Initialize(KeccakP1600_state *state);
37
+ void KeccakP1600_AddByte(KeccakP1600_state *state, unsigned char data, unsigned int offset);
32
38
  /* #define KeccakP1600_AddByte(argS, argData, argOffset) ((unsigned char*)argS)[argOffset] ^= (argData) */
33
- void KeccakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
34
- void KeccakP1600_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
35
- void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount);
36
- void KeccakP1600_Permute_Nrounds(void *state, unsigned int nrounds);
37
- void KeccakP1600_Permute_12rounds(void *state);
38
- void KeccakP1600_Permute_24rounds(void *state);
39
- void KeccakP1600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned int length);
40
- void KeccakP1600_ExtractAndAddBytes(const void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
39
+ void KeccakP1600_AddBytes(KeccakP1600_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
40
+ void KeccakP1600_OverwriteBytes(KeccakP1600_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
41
+ void KeccakP1600_OverwriteWithZeroes(KeccakP1600_state *state, unsigned int byteCount);
42
+ void KeccakP1600_Permute_Nrounds(KeccakP1600_state *state, unsigned int nrounds);
43
+ void KeccakP1600_Permute_12rounds(KeccakP1600_state *state);
44
+ void KeccakP1600_Permute_24rounds(KeccakP1600_state *state);
45
+ void KeccakP1600_ExtractBytes(const KeccakP1600_state *state, unsigned char *data, unsigned int offset, unsigned int length);
46
+ void KeccakP1600_ExtractAndAddBytes(const KeccakP1600_state *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
41
47
 
42
48
  #endif
@@ -40,7 +40,7 @@
40
40
 
41
41
  ;----------------------------------------------------------------------------
42
42
  ;
43
- ; void KeccakP1600_Initialize(void *state)
43
+ ; void KeccakP1600_Initialize(KeccakP1600_state *state)
44
44
  ;
45
45
  ; argument state is passed in r24:r25
46
46
  ;
@@ -64,7 +64,7 @@ KeccakP1600_StaticInitialize:
64
64
 
65
65
  ;----------------------------------------------------------------------------
66
66
  ;
67
- ; void KeccakP1600_AddByte(void *state, unsigned char data, unsigned int offset)
67
+ ; void KeccakP1600_AddByte(KeccakP1600_state *state, unsigned char data, unsigned int offset)
68
68
  ;
69
69
  ; argument state is passed in r24:r25
70
70
  ; argument data is passed in r22:r23, only LSB (r22) is used
@@ -82,7 +82,7 @@ KeccakP1600_AddByte:
82
82
 
83
83
  ;----------------------------------------------------------------------------
84
84
  ;
85
- ; void KeccakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
85
+ ; void KeccakP1600_AddBytes(KeccakP1600_state *state, const unsigned char *data, unsigned int offset, unsigned int length)
86
86
  ;
87
87
  ; argument state is passed in r24:r25
88
88
  ; argument data is passed in r22:r23
@@ -150,7 +150,7 @@ KeccakP1600_AddBytes_End:
150
150
 
151
151
  ;----------------------------------------------------------------------------
152
152
  ;
153
- ; void KeccakP1600_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
153
+ ; void KeccakP1600_OverwriteBytes(KeccakP1600_state *state, const unsigned char *data, unsigned int offset, unsigned int length)
154
154
  ;
155
155
  ; argument state is passed in r24:r25
156
156
  ; argument data is passed in r22:r23
@@ -199,7 +199,7 @@ KeccakP1600_OverwriteBytes_End:
199
199
 
200
200
  ;----------------------------------------------------------------------------
201
201
  ;
202
- ; void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount)
202
+ ; void KeccakP1600_OverwriteWithZeroes(KeccakP1600_state *state, unsigned int byteCount)
203
203
  ;
204
204
  ; argument state is passed in r24:r25
205
205
  ; argument byteCount is passed in r22:r23, only LSB (r22) is used
@@ -235,7 +235,7 @@ KeccakP1600_OverwriteWithZeroes_End:
235
235
 
236
236
  ;----------------------------------------------------------------------------
237
237
  ;
238
- ; void KeccakP1600_ExtractBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
238
+ ; void KeccakP1600_ExtractBytes(KeccakP1600_state *state, const unsigned char *data, unsigned int offset, unsigned int length)
239
239
  ;
240
240
  ; argument state is passed in r24:r25
241
241
  ; argument data is passed in r22:r23
@@ -284,7 +284,7 @@ KeccakP1600_ExtractBytes_End:
284
284
 
285
285
  ;----------------------------------------------------------------------------
286
286
  ;
287
- ; void KeccakP1600_ExtractAndAddBytes(void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
287
+ ; void KeccakP1600_ExtractAndAddBytes(KeccakP1600_state *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
288
288
  ;
289
289
  ; argument state is passed in r24:r25
290
290
  ; argument input is passed in r22:r23
@@ -424,7 +424,7 @@ KeccakP1600_RoundConstants_0:
424
424
 
425
425
  ;----------------------------------------------------------------------------
426
426
  ;
427
- ; void KeccakP1600_Permute_Nrounds( void *state, unsigned int nrounds )
427
+ ; void KeccakP1600_Permute_Nrounds( KeccakP1600_state *state, unsigned int nrounds )
428
428
  ;
429
429
  ; argument state is passed in r24:r25
430
430
  ; argument nrounds is passed in r22:r23 (only LSB (r22) is used)
@@ -443,7 +443,7 @@ KeccakP1600_Permute_Nrounds:
443
443
 
444
444
  ;----------------------------------------------------------------------------
445
445
  ;
446
- ; void KeccakP1600_Permute_24rounds( void *state )
446
+ ; void KeccakP1600_Permute_24rounds( KeccakP1600_state *state )
447
447
  ;
448
448
  .global KeccakP1600_Permute_24rounds
449
449
  KeccakP1600_Permute_24rounds:
@@ -453,7 +453,7 @@ KeccakP1600_Permute_24rounds:
453
453
 
454
454
  ;----------------------------------------------------------------------------
455
455
  ;
456
- ; void KeccakP1600_Permute_12rounds( void *state )
456
+ ; void KeccakP1600_Permute_12rounds( KeccakP1600_state *state )
457
457
  ;
458
458
  .global KeccakP1600_Permute_12rounds
459
459
  KeccakP1600_Permute_12rounds: