digest-kangarootwelve 0.4.8 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.XKCP +0 -20
- data/README.md +2 -2
- data/ext/digest/kangarootwelve/XKCP/lib/high/KangarooTwelve/KangarooTwelve.c +20 -20
- data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.c +2 -0
- data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.h +4 -4
- data/ext/digest/kangarootwelve/XKCP/lib/high/Keccak/KeccakSponge.inc +27 -31
- data/ext/digest/kangarootwelve/XKCP/lib/high/TurboSHAKE/TurboSHAKE.c +2 -0
- data/ext/digest/kangarootwelve/XKCP/lib/high/TurboSHAKE/TurboSHAKE.h +1 -1
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARM/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ARMv7A-NEON/KeccakP-1600-SnP.h +19 -11
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVR8/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVR8/KeccakP-1600-avr8-fast.s +10 -10
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX2/KeccakP-1600-AVX2.s +3 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX2/KeccakP-1600-SnP.h +24 -14
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/C/KeccakP-1600-AVX512.c +23 -22
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/C/KeccakP-1600-SnP.h +18 -13
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/KeccakP-1600-AVX512.s +12 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/AVX512/KeccakP-1600-SnP.h +18 -14
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/XOP/KeccakP-1600-SnP.h +19 -13
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/XOP/KeccakP-1600-XOP.c +36 -36
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/compact/KeccakP-1600-compact64.c +19 -19
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-32bits-inplace/KeccakP-1600-SnP.h +18 -12
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-32bits-inplace/KeccakP-1600-inplace32BI.c +31 -31
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-SnP.h +21 -16
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-opt64.c +64 -64
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/ARMv7A-NEON/KeccakP-1600-inplace-pl2-armv7a-neon-le-gcc.s +16 -16
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/ARMv7A-NEON/KeccakP-1600-times2-SnP.h +24 -17
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SIMD512.c +37 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SnP.h +25 -17
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/KeccakP-1600-times2-SIMD128.c +32 -34
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/KeccakP-1600-times2-SnP.h +24 -17
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX2/KeccakP-1600-times4-SIMD256.c +39 -43
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX2/KeccakP-1600-times4-SnP.h +26 -20
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX512/KeccakP-1600-times4-SIMD512.c +38 -39
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/AVX512/KeccakP-1600-times4-SnP.h +25 -19
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/AVX512/KeccakP-1600-times8-SIMD512.c +33 -35
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/AVX512/KeccakP-1600-times8-SnP.h +26 -21
- data/ext/digest/kangarootwelve/XKCP/lib/low/common/SnP-Relaned.h +25 -21
- data/ext/digest/kangarootwelve/targets/armv7a/config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx/config.h +1 -0
- data/ext/digest/kangarootwelve/targets/avx2/config.h +2 -0
- data/ext/digest/kangarootwelve/targets/avx2noasm/config.h +2 -0
- data/ext/digest/kangarootwelve/targets/avx512/config.h +3 -0
- data/ext/digest/kangarootwelve/targets/avx512noasm/config.h +3 -0
- data/ext/digest/kangarootwelve/targets/config.h +0 -6
- data/ext/digest/kangarootwelve/targets/list +0 -2
- data/ext/digest/kangarootwelve/targets/ssse3/config.h +1 -0
- data/ext/digest/kangarootwelve/targets/xop/config.h +1 -0
- data/lib/digest/kangarootwelve/version.rb +1 -1
- metadata +2 -423
- data/ext/digest/kangarootwelve/.sitearchdir.-.digest.time +0 -0
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-SnP.h +0 -44
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-32bits/KeccakP-1600-reference32BI.c +0 -625
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-SnP.h +0 -44
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-reference.c +0 -444
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/ref-64bits/KeccakP-1600-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/fallback-on1/KeccakP-1600-times2-on1.c +0 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on1/KeccakP-1600-times4-on1.c +0 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times4/fallback-on2/KeccakP-1600-times4-on2.c +0 -38
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on1/KeccakP-1600-times8-on1.c +0 -37
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on2/KeccakP-1600-times8-on2.c +0 -38
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-SnP.h +0 -45
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times8/fallback-on4/KeccakP-1600-times8-on4.c +0 -38
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv6m-le-gcc.s +0 -446
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ARM/KeccakP-200-armv7m-le-gcc.s +0 -427
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/AVR8/KeccakP-200-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/AVR8/KeccakP-200-avr8-fast.s +0 -647
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/compact/KeccakP-200-SnP.h +0 -39
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/compact/KeccakP-200-compact.c +0 -190
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-SnP.h +0 -43
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.c +0 -416
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-200/ref/KeccakP-200-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv6m-le-gcc.s +0 -458
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ARM/KeccakP-400-armv7m-le-gcc.s +0 -458
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/AVR8/KeccakP-400-SnP.h +0 -41
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/AVR8/KeccakP-400-avr8-fast.s +0 -728
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-SnP.h +0 -43
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.c +0 -418
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-400/ref/KeccakP-400-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-SnP.h +0 -42
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv6m-le-gcc.s +0 -534
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv7a-le-gcc.s +0 -527
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ARM/KeccakP-800-u2-armv7m-le-gcc.s +0 -523
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/AVR8/KeccakP-800-SnP.h +0 -42
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/AVR8/KeccakP-800-avr8-fast.s +0 -929
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/compact/KeccakP-800-SnP.h +0 -40
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/compact/KeccakP-800-compact.c +0 -244
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-SnP.h +0 -46
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32-bis.macros +0 -184
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32.c +0 -454
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-opt32.macros +0 -459
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-unrolling-bis.macros +0 -83
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/KeccakP-800-unrolling.macros +0 -88
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/lcu2/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/lcua/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/u2/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/plain/ua/KeccakP-800-opt32-config.h +0 -7
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-SnP.h +0 -44
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-reference.c +0 -441
- data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-800/ref/KeccakP-800-reference.h +0 -23
- data/ext/digest/kangarootwelve/XKCP/lib/low/common/PlSnP-Fallback.inc +0 -291
- data/ext/digest/kangarootwelve/XKCP/tests/UnitTests/displayIntermediateValues.c +0 -177
- data/ext/digest/kangarootwelve/XKCP/tests/UnitTests/displayIntermediateValues.h +0 -30
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-200-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-400-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/KeccakP-800-u2-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-200-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-400-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/KeccakP-800-u2-armv6m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv6m/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/KeccakP-800-u2-armv7a-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7a/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-200-armv7m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-400-armv7m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/KeccakP-800-u2-armv7m-le-gcc.S +0 -1
- data/ext/digest/kangarootwelve/targets/armv7m/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/armv8a/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-200-avr8-fast.S +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-400-avr8-fast.S +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/KeccakP-800-avr8-fast.S +0 -1
- data/ext/digest/kangarootwelve/targets/avr8/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-1600-times8-on4.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-1600-times8-on4.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx2noasm/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/avx512noasm/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-200-compact.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/compact/KeccakP-800-compact.c +0 -1
- data/ext/digest/kangarootwelve/targets/compact/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/defs +0 -2
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic32lc/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/generic64lc/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KangarooTwelve.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KangarooTwelve.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakP-800-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/KeccakSponge.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference/Phases.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference/TurboSHAKE.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/TurboSHAKE.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/align.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/brg_endian.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/config.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/displayIntermediateValues.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/displayIntermediateValues.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference/ext.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference/utils.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KangarooTwelve.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KangarooTwelve.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-reference32BI.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times2-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times2-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times4-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-1600-times8-on1.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakP-800-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/KeccakSponge.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/Phases.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/TurboSHAKE.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/TurboSHAKE.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/align.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/brg_endian.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/config.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/displayIntermediateValues.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/displayIntermediateValues.h +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/ext.c +0 -1
- data/ext/digest/kangarootwelve/targets/reference32bits/utils.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/ssse3/PlSnP-Fallback.inc +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times4-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times4-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times8-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-1600-times8-on2.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-200-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-reference.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-400-reference.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-SnP.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32-config.h +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32.c +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-opt32.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-unrolling-bis.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/KeccakP-800-unrolling.macros +0 -1
- data/ext/digest/kangarootwelve/targets/xop/PlSnP-Fallback.inc +0 -1
    
        data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SIMD512.c
    CHANGED
    
    | @@ -129,7 +129,7 @@ typedef __m512i     V512; | |
| 129 129 | 
             
            #define CONST128_64(a)              _mm_set1_epi64x(a)
         | 
| 130 130 | 
             
            #define LOAD4_32(a,b,c,d)           _mm_set_epi32((uint64_t)(a), (uint32_t)(b), (uint32_t)(c), (uint32_t)(d))
         | 
| 131 131 | 
             
            #define LOAD8_32(a,b,c,d,e,f,g,h)   _mm256_set_epi32((uint64_t)(a), (uint32_t)(b), (uint32_t)(c), (uint32_t)(d), (uint32_t)(e), (uint32_t)(f), (uint32_t)(g), (uint32_t)(h))
         | 
| 132 | 
            -
            #define LOAD_GATHER2_64(idx,p)      _mm_i32gather_epi64( (const  | 
| 132 | 
            +
            #define LOAD_GATHER2_64(idx,p)      _mm_i32gather_epi64( (const long long int*)(p), idx, 8)
         | 
| 133 133 | 
             
            #define LOAD_GATHER8_64(idx,p)      _mm512_i32gather_epi64( idx, (const void*)(p), 8)
         | 
| 134 134 | 
             
            #define STORE_SCATTER2_64(p,idx, v) _mm_i32scatter_epi64( (void*)(p), idx, v, 8)
         | 
| 135 135 | 
             
            #define STORE_SCATTER8_64(p,idx, v) _mm512_i32scatter_epi64( (void*)(p), idx, v, 8)
         | 
| @@ -139,18 +139,18 @@ typedef __m512i     V512; | |
| 139 139 | 
             
            #define laneIndex(instanceIndex, lanePosition)  ((lanePosition)*2 + instanceIndex)
         | 
| 140 140 | 
             
            #define SnP_laneLengthInBytes                   8
         | 
| 141 141 |  | 
| 142 | 
            -
            void KeccakP1600times2_InitializeAll( | 
| 142 | 
            +
            void KeccakP1600times2_InitializeAll(KeccakP1600times2_align512SIMD128_states *states)
         | 
| 143 143 | 
             
            {
         | 
| 144 | 
            -
                memset(states, 0,  | 
| 144 | 
            +
                memset(states, 0, sizeof(KeccakP1600times2_align512SIMD128_states));
         | 
| 145 145 | 
             
            }
         | 
| 146 146 |  | 
| 147 | 
            -
            void KeccakP1600times2_AddBytes( | 
| 147 | 
            +
            void KeccakP1600times2_AddBytes(KeccakP1600times2_align512SIMD128_states *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length)
         | 
| 148 148 | 
             
            {
         | 
| 149 149 | 
             
                unsigned int sizeLeft = length;
         | 
| 150 150 | 
             
                unsigned int lanePosition = offset/SnP_laneLengthInBytes;
         | 
| 151 151 | 
             
                unsigned int offsetInLane = offset%SnP_laneLengthInBytes;
         | 
| 152 152 | 
             
                const unsigned char *curData = data;
         | 
| 153 | 
            -
                uint64_t *statesAsLanes = states;
         | 
| 153 | 
            +
                uint64_t *statesAsLanes = (uint64_t*)states->A;
         | 
| 154 154 |  | 
| 155 155 | 
             
                if ((sizeLeft > 0) && (offsetInLane != 0)) {
         | 
| 156 156 | 
             
                    unsigned int bytesInLane = SnP_laneLengthInBytes - offsetInLane;
         | 
| @@ -179,10 +179,10 @@ void KeccakP1600times2_AddBytes(void *states, unsigned int instanceIndex, const | |
| 179 179 | 
             
                }
         | 
| 180 180 | 
             
            }
         | 
| 181 181 |  | 
| 182 | 
            -
            void KeccakP1600times2_AddLanesAll( | 
| 182 | 
            +
            void KeccakP1600times2_AddLanesAll(KeccakP1600times2_align512SIMD128_states *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset)
         | 
| 183 183 | 
             
            {
         | 
| 184 | 
            -
                V128 *stateAsLanes128 = states;
         | 
| 185 | 
            -
                V512 *stateAsLanes512 = states;
         | 
| 184 | 
            +
                V128 *stateAsLanes128 = states->A;
         | 
| 185 | 
            +
                V512 *stateAsLanes512 = (V512*)states->A;
         | 
| 186 186 | 
             
                const uint64_t *dataAsLanes = (const uint64_t *)data;
         | 
| 187 187 | 
             
                unsigned int i;
         | 
| 188 188 | 
             
                V128 index128 = LOAD4_32(0, 0, 1*laneOffset, 0*laneOffset);
         | 
| @@ -213,13 +213,13 @@ void KeccakP1600times2_AddLanesAll(void *states, const unsigned char *data, unsi | |
| 213 213 | 
             
                #undef  Add_In4
         | 
| 214 214 | 
             
            }
         | 
| 215 215 |  | 
| 216 | 
            -
            void KeccakP1600times2_OverwriteBytes( | 
| 216 | 
            +
            void KeccakP1600times2_OverwriteBytes(KeccakP1600times2_align512SIMD128_states *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length)
         | 
| 217 217 | 
             
            {
         | 
| 218 218 | 
             
                unsigned int sizeLeft = length;
         | 
| 219 219 | 
             
                unsigned int lanePosition = offset/SnP_laneLengthInBytes;
         | 
| 220 220 | 
             
                unsigned int offsetInLane = offset%SnP_laneLengthInBytes;
         | 
| 221 221 | 
             
                const unsigned char *curData = data;
         | 
| 222 | 
            -
                uint64_t *statesAsLanes = states;
         | 
| 222 | 
            +
                uint64_t *statesAsLanes = (uint64_t*)states->A;
         | 
| 223 223 |  | 
| 224 224 | 
             
                if ((sizeLeft > 0) && (offsetInLane != 0)) {
         | 
| 225 225 | 
             
                    unsigned int bytesInLane = SnP_laneLengthInBytes - offsetInLane;
         | 
| @@ -244,10 +244,10 @@ void KeccakP1600times2_OverwriteBytes(void *states, unsigned int instanceIndex, | |
| 244 244 | 
             
                }
         | 
| 245 245 | 
             
            }
         | 
| 246 246 |  | 
| 247 | 
            -
            void KeccakP1600times2_OverwriteLanesAll( | 
| 247 | 
            +
            void KeccakP1600times2_OverwriteLanesAll(KeccakP1600times2_align512SIMD128_states *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset)
         | 
| 248 248 | 
             
            {
         | 
| 249 | 
            -
                V128 *stateAsLanes128 = states;
         | 
| 250 | 
            -
                V512 *stateAsLanes512 = states;
         | 
| 249 | 
            +
                V128 *stateAsLanes128 = states->A;
         | 
| 250 | 
            +
                V512 *stateAsLanes512 = (V512*)states->A;
         | 
| 251 251 | 
             
                const uint64_t *dataAsLanes = (const uint64_t *)data;
         | 
| 252 252 | 
             
                unsigned int i;
         | 
| 253 253 | 
             
                V128 index128 = LOAD4_32(0, 0, 1*laneOffset, 0*laneOffset);
         | 
| @@ -278,11 +278,11 @@ void KeccakP1600times2_OverwriteLanesAll(void *states, const unsigned char *data | |
| 278 278 | 
             
                #undef  OverWr4
         | 
| 279 279 | 
             
            }
         | 
| 280 280 |  | 
| 281 | 
            -
            void KeccakP1600times2_OverwriteWithZeroes( | 
| 281 | 
            +
            void KeccakP1600times2_OverwriteWithZeroes(KeccakP1600times2_align512SIMD128_states *states, unsigned int instanceIndex, unsigned int byteCount)
         | 
| 282 282 | 
             
            {
         | 
| 283 283 | 
             
                unsigned int sizeLeft = byteCount;
         | 
| 284 284 | 
             
                unsigned int lanePosition = 0;
         | 
| 285 | 
            -
                uint64_t *statesAsLanes = states;
         | 
| 285 | 
            +
                uint64_t *statesAsLanes = (uint64_t*)states->A;
         | 
| 286 286 |  | 
| 287 287 | 
             
                while(sizeLeft >= SnP_laneLengthInBytes) {
         | 
| 288 288 | 
             
                    statesAsLanes[laneIndex(instanceIndex, lanePosition)] = 0;
         | 
| @@ -295,13 +295,13 @@ void KeccakP1600times2_OverwriteWithZeroes(void *states, unsigned int instanceIn | |
| 295 295 | 
             
                }
         | 
| 296 296 | 
             
            }
         | 
| 297 297 |  | 
| 298 | 
            -
            void KeccakP1600times2_ExtractBytes(const  | 
| 298 | 
            +
            void KeccakP1600times2_ExtractBytes(const KeccakP1600times2_align512SIMD128_states *states, unsigned int instanceIndex, unsigned char *data, unsigned int offset, unsigned int length)
         | 
| 299 299 | 
             
            {
         | 
| 300 300 | 
             
                unsigned int sizeLeft = length;
         | 
| 301 301 | 
             
                unsigned int lanePosition = offset/SnP_laneLengthInBytes;
         | 
| 302 302 | 
             
                unsigned int offsetInLane = offset%SnP_laneLengthInBytes;
         | 
| 303 303 | 
             
                unsigned char *curData = data;
         | 
| 304 | 
            -
                const uint64_t *statesAsLanes = states;
         | 
| 304 | 
            +
                const uint64_t *statesAsLanes = (const uint64_t*)states->A;
         | 
| 305 305 |  | 
| 306 306 | 
             
                if ((sizeLeft > 0) && (offsetInLane != 0)) {
         | 
| 307 307 | 
             
                    unsigned int bytesInLane = SnP_laneLengthInBytes - offsetInLane;
         | 
| @@ -325,10 +325,10 @@ void KeccakP1600times2_ExtractBytes(const void *states, unsigned int instanceInd | |
| 325 325 | 
             
                }
         | 
| 326 326 | 
             
            }
         | 
| 327 327 |  | 
| 328 | 
            -
            void KeccakP1600times2_ExtractLanesAll(const  | 
| 328 | 
            +
            void KeccakP1600times2_ExtractLanesAll(const KeccakP1600times2_align512SIMD128_states *states, unsigned char *data, unsigned int laneCount, unsigned int laneOffset)
         | 
| 329 329 | 
             
            {
         | 
| 330 | 
            -
                const V128 *stateAsLanes128 = states;
         | 
| 331 | 
            -
                const V512 *stateAsLanes512 = states;
         | 
| 330 | 
            +
                const V128 *stateAsLanes128 = states->A;
         | 
| 331 | 
            +
                const V512 *stateAsLanes512 = (V512*)states->A;
         | 
| 332 332 | 
             
                uint64_t *dataAsLanes = (uint64_t *)data;
         | 
| 333 333 | 
             
                unsigned int i;
         | 
| 334 334 | 
             
                V128 index128 = LOAD4_32(0, 0, 1*laneOffset, 0*laneOffset);
         | 
| @@ -359,14 +359,14 @@ void KeccakP1600times2_ExtractLanesAll(const void *states, unsigned char *data, | |
| 359 359 | 
             
                #undef  Extr4
         | 
| 360 360 | 
             
            }
         | 
| 361 361 |  | 
| 362 | 
            -
            void KeccakP1600times2_ExtractAndAddBytes(const  | 
| 362 | 
            +
            void KeccakP1600times2_ExtractAndAddBytes(const KeccakP1600times2_align512SIMD128_states *states, unsigned int instanceIndex, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
         | 
| 363 363 | 
             
            {
         | 
| 364 364 | 
             
                unsigned int sizeLeft = length;
         | 
| 365 365 | 
             
                unsigned int lanePosition = offset/SnP_laneLengthInBytes;
         | 
| 366 366 | 
             
                unsigned int offsetInLane = offset%SnP_laneLengthInBytes;
         | 
| 367 367 | 
             
                const unsigned char *curInput = input;
         | 
| 368 368 | 
             
                unsigned char *curOutput = output;
         | 
| 369 | 
            -
                const uint64_t *statesAsLanes = states;
         | 
| 369 | 
            +
                const uint64_t *statesAsLanes = (const uint64_t*)states->A;
         | 
| 370 370 |  | 
| 371 371 | 
             
                if ((sizeLeft > 0) && (offsetInLane != 0)) {
         | 
| 372 372 | 
             
                    unsigned int bytesInLane = SnP_laneLengthInBytes - offsetInLane;
         | 
| @@ -398,10 +398,10 @@ void KeccakP1600times2_ExtractAndAddBytes(const void *states, unsigned int insta | |
| 398 398 | 
             
                }
         | 
| 399 399 | 
             
            }
         | 
| 400 400 |  | 
| 401 | 
            -
            void KeccakP1600times2_ExtractAndAddLanesAll(const  | 
| 401 | 
            +
            void KeccakP1600times2_ExtractAndAddLanesAll(const KeccakP1600times2_align512SIMD128_states *states, const unsigned char *input, unsigned char *output, unsigned int laneCount, unsigned int laneOffset)
         | 
| 402 402 | 
             
            {
         | 
| 403 | 
            -
                const V128 *stateAsLanes128 = states;
         | 
| 404 | 
            -
                const V512 *stateAsLanes512 = states;
         | 
| 403 | 
            +
                const V128 *stateAsLanes128 = states->A;
         | 
| 404 | 
            +
                const V512 *stateAsLanes512 = (V512*)states->A;
         | 
| 405 405 | 
             
                const uint64_t *inAsLanes = (const uint64_t *)input;
         | 
| 406 406 | 
             
                uint64_t *outAsLanes = (uint64_t *)output;
         | 
| 407 407 | 
             
                unsigned int i;
         | 
| @@ -684,9 +684,9 @@ static ALIGN(KeccakP1600times2_statesAlignment) const uint64_t KeccakP1600RoundC | |
| 684 684 | 
             
                pState[23] = _so; \
         | 
| 685 685 | 
             
                pState[24] = _su
         | 
| 686 686 |  | 
| 687 | 
            -
            void KeccakP1600times2_PermuteAll_24rounds( | 
| 687 | 
            +
            void KeccakP1600times2_PermuteAll_24rounds(KeccakP1600times2_align512SIMD128_states *states)
         | 
| 688 688 | 
             
            {
         | 
| 689 | 
            -
                V128 *statesAsLanes = states;
         | 
| 689 | 
            +
                V128 *statesAsLanes = states->A;
         | 
| 690 690 | 
             
                KeccakP_DeclareVars;
         | 
| 691 691 | 
             
                #ifndef KeccakP1600times2_fullUnrolling
         | 
| 692 692 | 
             
                unsigned int i;
         | 
| @@ -697,9 +697,9 @@ void KeccakP1600times2_PermuteAll_24rounds(void *states) | |
| 697 697 | 
             
                copyToState(statesAsLanes);
         | 
| 698 698 | 
             
            }
         | 
| 699 699 |  | 
| 700 | 
            -
            void KeccakP1600times2_PermuteAll_12rounds( | 
| 700 | 
            +
            void KeccakP1600times2_PermuteAll_12rounds(KeccakP1600times2_align512SIMD128_states *states)
         | 
| 701 701 | 
             
            {
         | 
| 702 | 
            -
                V128 *statesAsLanes = states;
         | 
| 702 | 
            +
                V128 *statesAsLanes = states->A;
         | 
| 703 703 | 
             
                KeccakP_DeclareVars;
         | 
| 704 704 | 
             
                #if (KeccakP1600times2_unrolling < 12)
         | 
| 705 705 | 
             
                unsigned int i;
         | 
| @@ -710,9 +710,9 @@ void KeccakP1600times2_PermuteAll_12rounds(void *states) | |
| 710 710 | 
             
                copyToState(statesAsLanes);
         | 
| 711 711 | 
             
            }
         | 
| 712 712 |  | 
| 713 | 
            -
            void KeccakP1600times2_PermuteAll_6rounds( | 
| 713 | 
            +
            void KeccakP1600times2_PermuteAll_6rounds(KeccakP1600times2_align512SIMD128_states *states)
         | 
| 714 714 | 
             
            {
         | 
| 715 | 
            -
                V128 *statesAsLanes = states;
         | 
| 715 | 
            +
                V128 *statesAsLanes = states->A;
         | 
| 716 716 | 
             
                KeccakP_DeclareVars;
         | 
| 717 717 |  | 
| 718 718 | 
             
                copyFromState2rounds(statesAsLanes);
         | 
| @@ -721,9 +721,9 @@ void KeccakP1600times2_PermuteAll_6rounds(void *states) | |
| 721 721 | 
             
                copyToState(statesAsLanes);
         | 
| 722 722 | 
             
            }
         | 
| 723 723 |  | 
| 724 | 
            -
            void KeccakP1600times2_PermuteAll_4rounds( | 
| 724 | 
            +
            void KeccakP1600times2_PermuteAll_4rounds(KeccakP1600times2_align512SIMD128_states *states)
         | 
| 725 725 | 
             
            {
         | 
| 726 | 
            -
                V128 *statesAsLanes = states;
         | 
| 726 | 
            +
                V128 *statesAsLanes = states->A;
         | 
| 727 727 | 
             
                KeccakP_DeclareVars;
         | 
| 728 728 |  | 
| 729 729 | 
             
                copyFromState(statesAsLanes);
         | 
| @@ -731,7 +731,7 @@ void KeccakP1600times2_PermuteAll_4rounds(void *states) | |
| 731 731 | 
             
                copyToState(statesAsLanes);
         | 
| 732 732 | 
             
            }
         | 
| 733 733 |  | 
| 734 | 
            -
            size_t KeccakF1600times2_FastLoop_Absorb( | 
| 734 | 
            +
            size_t KeccakF1600times2_FastLoop_Absorb(KeccakP1600times2_align512SIMD128_states *states, unsigned int laneCount, unsigned int laneOffsetParallel, unsigned int laneOffsetSerial, const unsigned char *data, size_t dataByteLen)
         | 
| 735 735 | 
             
            {
         | 
| 736 736 | 
             
                size_t dataMinimumSize = (laneOffsetParallel*1 + laneCount)*8;
         | 
| 737 737 |  | 
| @@ -740,7 +740,7 @@ size_t KeccakF1600times2_FastLoop_Absorb(void *states, unsigned int laneCount, u | |
| 740 740 | 
             
                    unsigned int i;
         | 
| 741 741 | 
             
                    #endif
         | 
| 742 742 | 
             
                    const unsigned char *dataStart = data;
         | 
| 743 | 
            -
                    V128 *statesAsLanes = states;
         | 
| 743 | 
            +
                    V128 *statesAsLanes = states->A;
         | 
| 744 744 | 
             
                    const uint64_t *dataAsLanes = (const uint64_t *)data;
         | 
| 745 745 | 
             
                    KeccakP_DeclareVars;
         | 
| 746 746 | 
             
            	    V128 index = LOAD4_32(0, 0, 1*laneOffsetParallel, 0*laneOffsetParallel);
         | 
| @@ -790,7 +790,7 @@ size_t KeccakF1600times2_FastLoop_Absorb(void *states, unsigned int laneCount, u | |
| 790 790 | 
             
                }
         | 
| 791 791 | 
             
            }
         | 
| 792 792 |  | 
| 793 | 
            -
            size_t KeccakP1600times2_12rounds_FastLoop_Absorb( | 
| 793 | 
            +
            size_t KeccakP1600times2_12rounds_FastLoop_Absorb(KeccakP1600times2_align512SIMD128_states *states, unsigned int laneCount, unsigned int laneOffsetParallel, unsigned int laneOffsetSerial, const unsigned char *data, size_t dataByteLen)
         | 
| 794 794 | 
             
            {
         | 
| 795 795 | 
             
                size_t dataMinimumSize = (laneOffsetParallel*1 + laneCount)*8;
         | 
| 796 796 |  | 
| @@ -799,7 +799,7 @@ size_t KeccakP1600times2_12rounds_FastLoop_Absorb(void *states, unsigned int lan | |
| 799 799 | 
             
                    unsigned int i;
         | 
| 800 800 | 
             
                    #endif
         | 
| 801 801 | 
             
                    const unsigned char *dataStart = data;
         | 
| 802 | 
            -
                    V128 *statesAsLanes = states;
         | 
| 802 | 
            +
                    V128 *statesAsLanes = states->A;
         | 
| 803 803 | 
             
                    const uint64_t *dataAsLanes = (const uint64_t *)data;
         | 
| 804 804 | 
             
                    KeccakP_DeclareVars;
         | 
| 805 805 | 
             
            	    V128 index = LOAD4_32(0, 0, 1*laneOffsetParallel, 0*laneOffsetParallel);
         | 
    
        data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/AVX512/KeccakP-1600-times2-SnP.h
    CHANGED
    
    | @@ -18,10 +18,18 @@ Please refer to PlSnP-documentation.h for more details. | |
| 18 18 | 
             
            #ifndef _KeccakP_1600_times2_SnP_h_
         | 
| 19 19 | 
             
            #define _KeccakP_1600_times2_SnP_h_
         | 
| 20 20 |  | 
| 21 | 
            +
            #include <emmintrin.h>
         | 
| 21 22 | 
             
            #include "SIMD512-2-config.h"
         | 
| 22 23 |  | 
| 24 | 
            +
            typedef __m128i V128;
         | 
| 25 | 
            +
             | 
| 26 | 
            +
            typedef struct {
         | 
| 27 | 
            +
                ALIGN(64) V128 A[25];
         | 
| 28 | 
            +
            } KeccakP1600times2_align512SIMD128_states;
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            typedef KeccakP1600times2_align512SIMD128_states KeccakP1600times2_states;
         | 
| 31 | 
            +
             | 
| 23 32 | 
             
            #define KeccakP1600times2_implementation        "512-bit SIMD implementation (" KeccakP1600times2_implementation_config ")"
         | 
| 24 | 
            -
            #define KeccakP1600times2_statesSizeInBytes     400
         | 
| 25 33 | 
             
            #define KeccakP1600times2_statesAlignment       64
         | 
| 26 34 | 
             
            #define KeccakF1600times2_FastLoop_supported
         | 
| 27 35 | 
             
            #define KeccakP1600times2_12rounds_FastLoop_supported
         | 
| @@ -29,23 +37,23 @@ Please refer to PlSnP-documentation.h for more details. | |
| 29 37 | 
             
            #include <stddef.h>
         | 
| 30 38 |  | 
| 31 39 | 
             
            #define KeccakP1600times2_StaticInitialize()
         | 
| 32 | 
            -
            void KeccakP1600times2_InitializeAll( | 
| 40 | 
            +
            void KeccakP1600times2_InitializeAll(KeccakP1600times2_align512SIMD128_states *states);
         | 
| 33 41 | 
             
            #define KeccakP1600times2_AddByte(states, instanceIndex, byte, offset) \
         | 
| 34 42 | 
             
                ((unsigned char*)(states))[(instanceIndex)*8 + ((offset)/8)*2*8 + (offset)%8] ^= (byte)
         | 
| 35 | 
            -
            void KeccakP1600times2_AddBytes( | 
| 36 | 
            -
            void KeccakP1600times2_AddLanesAll( | 
| 37 | 
            -
            void KeccakP1600times2_OverwriteBytes( | 
| 38 | 
            -
            void KeccakP1600times2_OverwriteLanesAll( | 
| 39 | 
            -
            void KeccakP1600times2_OverwriteWithZeroes( | 
| 40 | 
            -
            void KeccakP1600times2_PermuteAll_4rounds( | 
| 41 | 
            -
            void KeccakP1600times2_PermuteAll_6rounds( | 
| 42 | 
            -
            void KeccakP1600times2_PermuteAll_12rounds( | 
| 43 | 
            -
            void KeccakP1600times2_PermuteAll_24rounds( | 
| 44 | 
            -
            void KeccakP1600times2_ExtractBytes(const  | 
| 45 | 
            -
            void KeccakP1600times2_ExtractLanesAll(const  | 
| 46 | 
            -
            void KeccakP1600times2_ExtractAndAddBytes(const  | 
| 47 | 
            -
            void KeccakP1600times2_ExtractAndAddLanesAll(const  | 
| 48 | 
            -
            size_t KeccakF1600times2_FastLoop_Absorb( | 
| 49 | 
            -
            size_t KeccakP1600times2_12rounds_FastLoop_Absorb( | 
| 43 | 
            +
            void KeccakP1600times2_AddBytes(KeccakP1600times2_align512SIMD128_states *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 44 | 
            +
            void KeccakP1600times2_AddLanesAll(KeccakP1600times2_align512SIMD128_states *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
         | 
| 45 | 
            +
            void KeccakP1600times2_OverwriteBytes(KeccakP1600times2_align512SIMD128_states *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 46 | 
            +
            void KeccakP1600times2_OverwriteLanesAll(KeccakP1600times2_align512SIMD128_states *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
         | 
| 47 | 
            +
            void KeccakP1600times2_OverwriteWithZeroes(KeccakP1600times2_align512SIMD128_states *states, unsigned int instanceIndex, unsigned int byteCount);
         | 
| 48 | 
            +
            void KeccakP1600times2_PermuteAll_4rounds(KeccakP1600times2_align512SIMD128_states *states);
         | 
| 49 | 
            +
            void KeccakP1600times2_PermuteAll_6rounds(KeccakP1600times2_align512SIMD128_states *states);
         | 
| 50 | 
            +
            void KeccakP1600times2_PermuteAll_12rounds(KeccakP1600times2_align512SIMD128_states *states);
         | 
| 51 | 
            +
            void KeccakP1600times2_PermuteAll_24rounds(KeccakP1600times2_align512SIMD128_states *states);
         | 
| 52 | 
            +
            void KeccakP1600times2_ExtractBytes(const KeccakP1600times2_align512SIMD128_states *states, unsigned int instanceIndex, unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 53 | 
            +
            void KeccakP1600times2_ExtractLanesAll(const KeccakP1600times2_align512SIMD128_states *states, unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
         | 
| 54 | 
            +
            void KeccakP1600times2_ExtractAndAddBytes(const KeccakP1600times2_align512SIMD128_states *states, unsigned int instanceIndex,  const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
         | 
| 55 | 
            +
            void KeccakP1600times2_ExtractAndAddLanesAll(const KeccakP1600times2_align512SIMD128_states *states, const unsigned char *input, unsigned char *output, unsigned int laneCount, unsigned int laneOffset);
         | 
| 56 | 
            +
            size_t KeccakF1600times2_FastLoop_Absorb(KeccakP1600times2_align512SIMD128_states *states, unsigned int laneCount, unsigned int laneOffsetParallel, unsigned int laneOffsetSerial, const unsigned char *data, size_t dataByteLen);
         | 
| 57 | 
            +
            size_t KeccakP1600times2_12rounds_FastLoop_Absorb(KeccakP1600times2_align512SIMD128_states *states, unsigned int laneCount, unsigned int laneOffsetParallel, unsigned int laneOffsetSerial, const unsigned char *data, size_t dataByteLen);
         | 
| 50 58 |  | 
| 51 59 | 
             
            #endif
         | 
| @@ -38,8 +38,6 @@ Please refer to LowLevel.build for the exact list of other files it must be comb | |
| 38 38 | 
             
            #error Expecting a little-endian platform
         | 
| 39 39 | 
             
            #endif
         | 
| 40 40 |  | 
| 41 | 
            -
            typedef __m128i V128;
         | 
| 42 | 
            -
             | 
| 43 41 | 
             
            #define laneIndex(instanceIndex, lanePosition) ((lanePosition)*2 + instanceIndex)
         | 
| 44 42 |  | 
| 45 43 | 
             
            #if defined(KeccakP1600times2_useSSE)
         | 
| @@ -75,18 +73,18 @@ static const uint64_t rho56[2] = {0x0007060504030201, 0x080F0E0D0C0B0A09}; | |
| 75 73 |  | 
| 76 74 | 
             
            #define SnP_laneLengthInBytes 8
         | 
| 77 75 |  | 
| 78 | 
            -
            void KeccakP1600times2_InitializeAll( | 
| 76 | 
            +
            void KeccakP1600times2_InitializeAll(KeccakP1600times2_SIMD128_states *states)
         | 
| 79 77 | 
             
            {
         | 
| 80 | 
            -
                memset(states, 0,  | 
| 78 | 
            +
                memset(states, 0, sizeof(KeccakP1600times2_states));
         | 
| 81 79 | 
             
            }
         | 
| 82 80 |  | 
| 83 | 
            -
            void KeccakP1600times2_AddBytes( | 
| 81 | 
            +
            void KeccakP1600times2_AddBytes(KeccakP1600times2_SIMD128_states *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length)
         | 
| 84 82 | 
             
            {
         | 
| 85 83 | 
             
                unsigned int sizeLeft = length;
         | 
| 86 84 | 
             
                unsigned int lanePosition = offset/SnP_laneLengthInBytes;
         | 
| 87 85 | 
             
                unsigned int offsetInLane = offset%SnP_laneLengthInBytes;
         | 
| 88 86 | 
             
                const unsigned char *curData = data;
         | 
| 89 | 
            -
                uint64_t *statesAsLanes = (uint64_t *)states;
         | 
| 87 | 
            +
                uint64_t *statesAsLanes = (uint64_t *)states->A;
         | 
| 90 88 |  | 
| 91 89 | 
             
                if ((sizeLeft > 0) && (offsetInLane != 0)) {
         | 
| 92 90 | 
             
                    unsigned int bytesInLane = SnP_laneLengthInBytes - offsetInLane;
         | 
| @@ -115,9 +113,9 @@ void KeccakP1600times2_AddBytes(void *states, unsigned int instanceIndex, const | |
| 115 113 | 
             
                }
         | 
| 116 114 | 
             
            }
         | 
| 117 115 |  | 
| 118 | 
            -
            void KeccakP1600times2_AddLanesAll( | 
| 116 | 
            +
            void KeccakP1600times2_AddLanesAll(KeccakP1600times2_SIMD128_states *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset)
         | 
| 119 117 | 
             
            {
         | 
| 120 | 
            -
                V128 *stateAsLanes =  | 
| 118 | 
            +
                V128 *stateAsLanes = states->A;
         | 
| 121 119 | 
             
                unsigned int i;
         | 
| 122 120 | 
             
                const uint64_t *curData0 = (const uint64_t *)data;
         | 
| 123 121 | 
             
                const uint64_t *curData1 = (const uint64_t *)(data+laneOffset*SnP_laneLengthInBytes);
         | 
| @@ -160,13 +158,13 @@ void KeccakP1600times2_AddLanesAll(void *states, const unsigned char *data, unsi | |
| 160 158 | 
             
                #undef  XOR_In
         | 
| 161 159 | 
             
            }
         | 
| 162 160 |  | 
| 163 | 
            -
            void KeccakP1600times2_OverwriteBytes( | 
| 161 | 
            +
            void KeccakP1600times2_OverwriteBytes(KeccakP1600times2_SIMD128_states *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length)
         | 
| 164 162 | 
             
            {
         | 
| 165 163 | 
             
                unsigned int sizeLeft = length;
         | 
| 166 164 | 
             
                unsigned int lanePosition = offset/SnP_laneLengthInBytes;
         | 
| 167 165 | 
             
                unsigned int offsetInLane = offset%SnP_laneLengthInBytes;
         | 
| 168 166 | 
             
                const unsigned char *curData = data;
         | 
| 169 | 
            -
                uint64_t *statesAsLanes = (uint64_t *)states;
         | 
| 167 | 
            +
                uint64_t *statesAsLanes = (uint64_t *)states->A;
         | 
| 170 168 |  | 
| 171 169 | 
             
                if ((sizeLeft > 0) && (offsetInLane != 0)) {
         | 
| 172 170 | 
             
                    unsigned int bytesInLane = SnP_laneLengthInBytes - offsetInLane;
         | 
| @@ -191,9 +189,9 @@ void KeccakP1600times2_OverwriteBytes(void *states, unsigned int instanceIndex, | |
| 191 189 | 
             
                }
         | 
| 192 190 | 
             
            }
         | 
| 193 191 |  | 
| 194 | 
            -
            void KeccakP1600times2_OverwriteLanesAll( | 
| 192 | 
            +
            void KeccakP1600times2_OverwriteLanesAll(KeccakP1600times2_SIMD128_states *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset)
         | 
| 195 193 | 
             
            {
         | 
| 196 | 
            -
                V128 *stateAsLanes =  | 
| 194 | 
            +
                V128 *stateAsLanes = states->A;
         | 
| 197 195 | 
             
                unsigned int i;
         | 
| 198 196 | 
             
                const uint64_t *curData0 = (const uint64_t *)data;
         | 
| 199 197 | 
             
                const uint64_t *curData1 = (const uint64_t *)(data+laneOffset*SnP_laneLengthInBytes);
         | 
| @@ -236,11 +234,11 @@ void KeccakP1600times2_OverwriteLanesAll(void *states, const unsigned char *data | |
| 236 234 | 
             
                #undef  OverWr
         | 
| 237 235 | 
             
            }
         | 
| 238 236 |  | 
| 239 | 
            -
            void KeccakP1600times2_OverwriteWithZeroes( | 
| 237 | 
            +
            void KeccakP1600times2_OverwriteWithZeroes(KeccakP1600times2_SIMD128_states *states, unsigned int instanceIndex, unsigned int byteCount)
         | 
| 240 238 | 
             
            {
         | 
| 241 239 | 
             
                unsigned int sizeLeft = byteCount;
         | 
| 242 240 | 
             
                unsigned int lanePosition = 0;
         | 
| 243 | 
            -
                uint64_t *statesAsLanes = (uint64_t *)states;
         | 
| 241 | 
            +
                uint64_t *statesAsLanes = (uint64_t *)states->A;
         | 
| 244 242 |  | 
| 245 243 | 
             
                while(sizeLeft >= SnP_laneLengthInBytes) {
         | 
| 246 244 | 
             
                    statesAsLanes[laneIndex(instanceIndex, lanePosition)] = 0;
         | 
| @@ -253,13 +251,13 @@ void KeccakP1600times2_OverwriteWithZeroes(void *states, unsigned int instanceIn | |
| 253 251 | 
             
                }
         | 
| 254 252 | 
             
            }
         | 
| 255 253 |  | 
| 256 | 
            -
            void KeccakP1600times2_ExtractBytes(const  | 
| 254 | 
            +
            void KeccakP1600times2_ExtractBytes(const KeccakP1600times2_SIMD128_states *states, unsigned int instanceIndex, unsigned char *data, unsigned int offset, unsigned int length)
         | 
| 257 255 | 
             
            {
         | 
| 258 256 | 
             
                unsigned int sizeLeft = length;
         | 
| 259 257 | 
             
                unsigned int lanePosition = offset/SnP_laneLengthInBytes;
         | 
| 260 258 | 
             
                unsigned int offsetInLane = offset%SnP_laneLengthInBytes;
         | 
| 261 259 | 
             
                unsigned char *curData = data;
         | 
| 262 | 
            -
                const uint64_t *statesAsLanes = (const uint64_t *)states;
         | 
| 260 | 
            +
                const uint64_t *statesAsLanes = (const uint64_t *)states->A;
         | 
| 263 261 |  | 
| 264 262 | 
             
                if ((sizeLeft > 0) && (offsetInLane != 0)) {
         | 
| 265 263 | 
             
                    unsigned int bytesInLane = SnP_laneLengthInBytes - offsetInLane;
         | 
| @@ -283,9 +281,9 @@ void KeccakP1600times2_ExtractBytes(const void *states, unsigned int instanceInd | |
| 283 281 | 
             
                }
         | 
| 284 282 | 
             
            }
         | 
| 285 283 |  | 
| 286 | 
            -
            void KeccakP1600times2_ExtractLanesAll(const  | 
| 284 | 
            +
            void KeccakP1600times2_ExtractLanesAll(const KeccakP1600times2_SIMD128_states *states, unsigned char *data, unsigned int laneCount, unsigned int laneOffset)
         | 
| 287 285 | 
             
            {
         | 
| 288 | 
            -
                const V128 *stateAsLanes =  | 
| 286 | 
            +
                const V128 *stateAsLanes = states->A;
         | 
| 289 287 | 
             
                V128 lanes;
         | 
| 290 288 | 
             
                unsigned int i;
         | 
| 291 289 | 
             
                uint64_t *curData0 = (uint64_t *)data;
         | 
| @@ -364,14 +362,14 @@ void KeccakP1600times2_ExtractLanesAll(const void *states, unsigned char *data, | |
| 364 362 | 
             
                #undef  Extr
         | 
| 365 363 | 
             
            }
         | 
| 366 364 |  | 
| 367 | 
            -
            void KeccakP1600times2_ExtractAndAddBytes(const  | 
| 365 | 
            +
            void KeccakP1600times2_ExtractAndAddBytes(const KeccakP1600times2_SIMD128_states *states, unsigned int instanceIndex,  const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
         | 
| 368 366 | 
             
            {
         | 
| 369 367 | 
             
                unsigned int sizeLeft = length;
         | 
| 370 368 | 
             
                unsigned int lanePosition = offset/SnP_laneLengthInBytes;
         | 
| 371 369 | 
             
                unsigned int offsetInLane = offset%SnP_laneLengthInBytes;
         | 
| 372 370 | 
             
                const unsigned char *curInput = input;
         | 
| 373 371 | 
             
                unsigned char *curOutput = output;
         | 
| 374 | 
            -
                const uint64_t *statesAsLanes = (const uint64_t *)states;
         | 
| 372 | 
            +
                const uint64_t *statesAsLanes = (const uint64_t *)states->A;
         | 
| 375 373 |  | 
| 376 374 | 
             
                if ((sizeLeft > 0) && (offsetInLane != 0)) {
         | 
| 377 375 | 
             
                    unsigned int bytesInLane = SnP_laneLengthInBytes - offsetInLane;
         | 
| @@ -403,9 +401,9 @@ void KeccakP1600times2_ExtractAndAddBytes(const void *states, unsigned int insta | |
| 403 401 | 
             
                }
         | 
| 404 402 | 
             
            }
         | 
| 405 403 |  | 
| 406 | 
            -
            void KeccakP1600times2_ExtractAndAddLanesAll(const  | 
| 404 | 
            +
            void KeccakP1600times2_ExtractAndAddLanesAll(const KeccakP1600times2_SIMD128_states *states, const unsigned char *input, unsigned char *output, unsigned int laneCount, unsigned int laneOffset)
         | 
| 407 405 | 
             
            {
         | 
| 408 | 
            -
                const uint64_t *stateAsLanes = (const uint64_t *)states;
         | 
| 406 | 
            +
                const uint64_t *stateAsLanes = (const uint64_t *)states->A;
         | 
| 409 407 | 
             
                unsigned int i;
         | 
| 410 408 | 
             
                const uint64_t *curInput0 = (uint64_t *)input;
         | 
| 411 409 | 
             
                const uint64_t *curInput1 = (uint64_t *)(input+laneOffset*SnP_laneLengthInBytes);
         | 
| @@ -685,7 +683,7 @@ void KeccakP1600times2_ExtractAndAddLanesAll(const void *states, const unsigned | |
| 685 683 | 
             
                E##su = XOR128(Bsu, ANDnu128(Bsa, Bse)); \
         | 
| 686 684 | 
             
            \
         | 
| 687 685 |  | 
| 688 | 
            -
            static  | 
| 686 | 
            +
            static const uint64_t KeccakF1600RoundConstants[24] = {
         | 
| 689 687 | 
             
                0x0000000000000001ULL,
         | 
| 690 688 | 
             
                0x0000000000008082ULL,
         | 
| 691 689 | 
             
                0x800000000000808aULL,
         | 
| @@ -799,9 +797,9 @@ static ALIGN(KeccakP1600times2_statesAlignment) const uint64_t KeccakF1600RoundC | |
| 799 797 | 
             
            #endif
         | 
| 800 798 | 
             
            #include "KeccakP-1600-unrolling.macros"
         | 
| 801 799 |  | 
| 802 | 
            -
            void KeccakP1600times2_PermuteAll_24rounds( | 
| 800 | 
            +
            void KeccakP1600times2_PermuteAll_24rounds(KeccakP1600times2_SIMD128_states *states)
         | 
| 803 801 | 
             
            {
         | 
| 804 | 
            -
                V128 *statesAsLanes =  | 
| 802 | 
            +
                V128 *statesAsLanes = states->A;
         | 
| 805 803 | 
             
                declareABCDE
         | 
| 806 804 | 
             
                #ifndef KeccakP1600times2_fullUnrolling
         | 
| 807 805 | 
             
                unsigned int i;
         | 
| @@ -815,9 +813,9 @@ void KeccakP1600times2_PermuteAll_24rounds(void *states) | |
| 815 813 | 
             
            #endif
         | 
| 816 814 | 
             
            }
         | 
| 817 815 |  | 
| 818 | 
            -
            void KeccakP1600times2_PermuteAll_12rounds( | 
| 816 | 
            +
            void KeccakP1600times2_PermuteAll_12rounds(KeccakP1600times2_SIMD128_states *states)
         | 
| 819 817 | 
             
            {
         | 
| 820 | 
            -
                V128 *statesAsLanes =  | 
| 818 | 
            +
                V128 *statesAsLanes = states->A;
         | 
| 821 819 | 
             
                declareABCDE
         | 
| 822 820 | 
             
                #ifndef KeccakP1600times2_fullUnrolling
         | 
| 823 821 | 
             
                unsigned int i;
         | 
| @@ -831,9 +829,9 @@ void KeccakP1600times2_PermuteAll_12rounds(void *states) | |
| 831 829 | 
             
            #endif
         | 
| 832 830 | 
             
            }
         | 
| 833 831 |  | 
| 834 | 
            -
            void KeccakP1600times2_PermuteAll_6rounds( | 
| 832 | 
            +
            void KeccakP1600times2_PermuteAll_6rounds(KeccakP1600times2_SIMD128_states *states)
         | 
| 835 833 | 
             
            {
         | 
| 836 | 
            -
                V128 *statesAsLanes =  | 
| 834 | 
            +
                V128 *statesAsLanes = states->A;
         | 
| 837 835 | 
             
                declareABCDE
         | 
| 838 836 | 
             
                #ifndef KeccakP1600times2_fullUnrolling
         | 
| 839 837 | 
             
                unsigned int i;
         | 
| @@ -847,9 +845,9 @@ void KeccakP1600times2_PermuteAll_6rounds(void *states) | |
| 847 845 | 
             
            #endif
         | 
| 848 846 | 
             
            }
         | 
| 849 847 |  | 
| 850 | 
            -
            void KeccakP1600times2_PermuteAll_4rounds( | 
| 848 | 
            +
            void KeccakP1600times2_PermuteAll_4rounds(KeccakP1600times2_SIMD128_states *states)
         | 
| 851 849 | 
             
            {
         | 
| 852 | 
            -
                V128 *statesAsLanes =  | 
| 850 | 
            +
                V128 *statesAsLanes = states->A;
         | 
| 853 851 | 
             
                declareABCDE
         | 
| 854 852 | 
             
                #ifndef KeccakP1600times2_fullUnrolling
         | 
| 855 853 | 
             
                unsigned int i;
         | 
| @@ -863,14 +861,14 @@ void KeccakP1600times2_PermuteAll_4rounds(void *states) | |
| 863 861 | 
             
            #endif
         | 
| 864 862 | 
             
            }
         | 
| 865 863 |  | 
| 866 | 
            -
            size_t KeccakF1600times2_FastLoop_Absorb( | 
| 864 | 
            +
            size_t KeccakF1600times2_FastLoop_Absorb(KeccakP1600times2_SIMD128_states *states, unsigned int laneCount, unsigned int laneOffsetParallel, unsigned int laneOffsetSerial, const unsigned char *data, size_t dataByteLen)
         | 
| 867 865 | 
             
            {
         | 
| 868 866 | 
             
                if (laneCount == 21) {
         | 
| 869 867 | 
             
            #if 1
         | 
| 870 868 | 
             
                    const unsigned char *dataStart = data;
         | 
| 871 869 |  | 
| 872 870 | 
             
                    while(dataByteLen >= (laneOffsetParallel + laneCount)*8) {
         | 
| 873 | 
            -
                        V128 *stateAsLanes =  | 
| 871 | 
            +
                        V128 *stateAsLanes = states->A;
         | 
| 874 872 | 
             
                        const uint64_t *curData0 = (const uint64_t *)data;
         | 
| 875 873 | 
             
                        const uint64_t *curData1 = (const uint64_t *)(data+laneOffsetParallel*SnP_laneLengthInBytes);
         | 
| 876 874 | 
             
                        #define XOR_In( argIndex )  XOReq128( stateAsLanes[argIndex], LOAD6464(curData1[argIndex], curData0[argIndex]))
         | 
| @@ -906,7 +904,7 @@ size_t KeccakF1600times2_FastLoop_Absorb(void *states, unsigned int laneCount, u | |
| 906 904 | 
             
                    const unsigned char *dataStart = data;
         | 
| 907 905 | 
             
                    const uint64_t *curData0 = (const uint64_t *)data;
         | 
| 908 906 | 
             
                    const uint64_t *curData1 = (const uint64_t *)(data+laneOffsetParallel*SnP_laneLengthInBytes);
         | 
| 909 | 
            -
                    V128 *statesAsLanes =  | 
| 907 | 
            +
                    V128 *statesAsLanes = states->A;
         | 
| 910 908 | 
             
                    declareABCDE
         | 
| 911 909 |  | 
| 912 910 | 
             
                    copyFromState(A, statesAsLanes)
         | 
    
        data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600-times2/SIMD128/KeccakP-1600-times2-SnP.h
    CHANGED
    
    | @@ -18,32 +18,39 @@ Please refer to PlSnP-documentation.h for more details. | |
| 18 18 | 
             
            #ifndef _KeccakP_1600_times2_SnP_h_
         | 
| 19 19 | 
             
            #define _KeccakP_1600_times2_SnP_h_
         | 
| 20 20 |  | 
| 21 | 
            +
            #include <emmintrin.h>
         | 
| 21 22 | 
             
            #include "SIMD128-config.h"
         | 
| 22 23 |  | 
| 24 | 
            +
            typedef __m128i V128;
         | 
| 25 | 
            +
             | 
| 26 | 
            +
            typedef struct {
         | 
| 27 | 
            +
                V128 A[25];
         | 
| 28 | 
            +
            } KeccakP1600times2_SIMD128_states;
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            typedef KeccakP1600times2_SIMD128_states KeccakP1600times2_states;
         | 
| 31 | 
            +
             | 
| 23 32 | 
             
            #define KeccakP1600times2_implementation        "128-bit SIMD implementation (" KeccakP1600times2_implementation_config ")"
         | 
| 24 | 
            -
            #define KeccakP1600times2_statesSizeInBytes     400
         | 
| 25 | 
            -
            #define KeccakP1600times2_statesAlignment       16
         | 
| 26 33 | 
             
            #define KeccakF1600times2_FastLoop_supported
         | 
| 27 34 |  | 
| 28 35 | 
             
            #include <stddef.h>
         | 
| 29 36 |  | 
| 30 37 | 
             
            #define KeccakP1600times2_StaticInitialize()
         | 
| 31 | 
            -
            void KeccakP1600times2_InitializeAll( | 
| 38 | 
            +
            void KeccakP1600times2_InitializeAll(KeccakP1600times2_SIMD128_states *states);
         | 
| 32 39 | 
             
            #define KeccakP1600times2_AddByte(states, instanceIndex, byte, offset) \
         | 
| 33 40 | 
             
                ((unsigned char*)(states))[(instanceIndex)*8 + ((offset)/8)*2*8 + (offset)%8] ^= (byte)
         | 
| 34 | 
            -
            void KeccakP1600times2_AddBytes( | 
| 35 | 
            -
            void KeccakP1600times2_AddLanesAll( | 
| 36 | 
            -
            void KeccakP1600times2_OverwriteBytes( | 
| 37 | 
            -
            void KeccakP1600times2_OverwriteLanesAll( | 
| 38 | 
            -
            void KeccakP1600times2_OverwriteWithZeroes( | 
| 39 | 
            -
            void KeccakP1600times2_PermuteAll_4rounds( | 
| 40 | 
            -
            void KeccakP1600times2_PermuteAll_6rounds( | 
| 41 | 
            -
            void KeccakP1600times2_PermuteAll_12rounds( | 
| 42 | 
            -
            void KeccakP1600times2_PermuteAll_24rounds( | 
| 43 | 
            -
            void KeccakP1600times2_ExtractBytes(const  | 
| 44 | 
            -
            void KeccakP1600times2_ExtractLanesAll(const  | 
| 45 | 
            -
            void KeccakP1600times2_ExtractAndAddBytes(const  | 
| 46 | 
            -
            void KeccakP1600times2_ExtractAndAddLanesAll(const  | 
| 47 | 
            -
            size_t KeccakF1600times2_FastLoop_Absorb( | 
| 41 | 
            +
            void KeccakP1600times2_AddBytes(KeccakP1600times2_SIMD128_states *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 42 | 
            +
            void KeccakP1600times2_AddLanesAll(KeccakP1600times2_SIMD128_states *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
         | 
| 43 | 
            +
            void KeccakP1600times2_OverwriteBytes(KeccakP1600times2_SIMD128_states *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 44 | 
            +
            void KeccakP1600times2_OverwriteLanesAll(KeccakP1600times2_SIMD128_states *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
         | 
| 45 | 
            +
            void KeccakP1600times2_OverwriteWithZeroes(KeccakP1600times2_SIMD128_states *states, unsigned int instanceIndex, unsigned int byteCount);
         | 
| 46 | 
            +
            void KeccakP1600times2_PermuteAll_4rounds(KeccakP1600times2_SIMD128_states *states);
         | 
| 47 | 
            +
            void KeccakP1600times2_PermuteAll_6rounds(KeccakP1600times2_SIMD128_states *states);
         | 
| 48 | 
            +
            void KeccakP1600times2_PermuteAll_12rounds(KeccakP1600times2_SIMD128_states *states);
         | 
| 49 | 
            +
            void KeccakP1600times2_PermuteAll_24rounds(KeccakP1600times2_SIMD128_states *states);
         | 
| 50 | 
            +
            void KeccakP1600times2_ExtractBytes(const KeccakP1600times2_SIMD128_states *states, unsigned int instanceIndex, unsigned char *data, unsigned int offset, unsigned int length);
         | 
| 51 | 
            +
            void KeccakP1600times2_ExtractLanesAll(const KeccakP1600times2_SIMD128_states *states, unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
         | 
| 52 | 
            +
            void KeccakP1600times2_ExtractAndAddBytes(const KeccakP1600times2_SIMD128_states *states, unsigned int instanceIndex,  const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
         | 
| 53 | 
            +
            void KeccakP1600times2_ExtractAndAddLanesAll(const KeccakP1600times2_SIMD128_states *states, const unsigned char *input, unsigned char *output, unsigned int laneCount, unsigned int laneOffset);
         | 
| 54 | 
            +
            size_t KeccakF1600times2_FastLoop_Absorb(KeccakP1600times2_SIMD128_states *states, unsigned int laneCount, unsigned int laneOffsetParallel, unsigned int laneOffsetSerial, const unsigned char *data, size_t dataByteLen);
         | 
| 48 55 |  | 
| 49 56 | 
             
            #endif
         |