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
@@ -26,7 +26,7 @@ Please refer to LowLevel.build for the exact list of other files it must be comb
|
|
26
26
|
#include <string.h>
|
27
27
|
#include <stdlib.h>
|
28
28
|
#include "brg_endian.h"
|
29
|
-
#include "KeccakP-1600-
|
29
|
+
#include "KeccakP-1600-SnP.h"
|
30
30
|
|
31
31
|
#if defined(KeccakP1600_useLaneComplementing)
|
32
32
|
#define UseBebigokimisa
|
@@ -82,22 +82,22 @@ static const uint64_t KeccakF1600RoundConstants[24] = {
|
|
82
82
|
|
83
83
|
/* ---------------------------------------------------------------- */
|
84
84
|
|
85
|
-
void KeccakP1600_Initialize(
|
85
|
+
void KeccakP1600_Initialize(KeccakP1600_plain64_state *state)
|
86
86
|
{
|
87
87
|
memset(state, 0, 200);
|
88
88
|
#ifdef KeccakP1600_useLaneComplementing
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
89
|
+
state->A[ 1] = ~(uint64_t)0;
|
90
|
+
state->A[ 2] = ~(uint64_t)0;
|
91
|
+
state->A[ 8] = ~(uint64_t)0;
|
92
|
+
state->A[12] = ~(uint64_t)0;
|
93
|
+
state->A[17] = ~(uint64_t)0;
|
94
|
+
state->A[20] = ~(uint64_t)0;
|
95
95
|
#endif
|
96
96
|
}
|
97
97
|
|
98
98
|
/* ---------------------------------------------------------------- */
|
99
99
|
|
100
|
-
void KeccakP1600_AddBytesInLane(
|
100
|
+
void KeccakP1600_AddBytesInLane(KeccakP1600_plain64_state *state, unsigned int lanePosition, const unsigned char *data, unsigned int offset, unsigned int length)
|
101
101
|
{
|
102
102
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
103
103
|
uint64_t lane;
|
@@ -116,12 +116,12 @@ void KeccakP1600_AddBytesInLane(void *state, unsigned int lanePosition, const un
|
|
116
116
|
for(i=0; i<length; i++)
|
117
117
|
lane |= ((uint64_t)data[i]) << ((i+offset)*8);
|
118
118
|
#endif
|
119
|
-
|
119
|
+
state->A[lanePosition] ^= lane;
|
120
120
|
}
|
121
121
|
|
122
122
|
/* ---------------------------------------------------------------- */
|
123
123
|
|
124
|
-
void KeccakP1600_AddLanes(
|
124
|
+
void KeccakP1600_AddLanes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int laneCount)
|
125
125
|
{
|
126
126
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
127
127
|
unsigned int i = 0;
|
@@ -137,27 +137,27 @@ void KeccakP1600_AddLanes(void *state, const unsigned char *data, unsigned int l
|
|
137
137
|
{
|
138
138
|
/* Otherwise... */
|
139
139
|
for( ; (i+8)<=laneCount; i+=8) {
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
140
|
+
state->A[i+0] ^= ((uint64_t*)data)[i+0];
|
141
|
+
state->A[i+1] ^= ((uint64_t*)data)[i+1];
|
142
|
+
state->A[i+2] ^= ((uint64_t*)data)[i+2];
|
143
|
+
state->A[i+3] ^= ((uint64_t*)data)[i+3];
|
144
|
+
state->A[i+4] ^= ((uint64_t*)data)[i+4];
|
145
|
+
state->A[i+5] ^= ((uint64_t*)data)[i+5];
|
146
|
+
state->A[i+6] ^= ((uint64_t*)data)[i+6];
|
147
|
+
state->A[i+7] ^= ((uint64_t*)data)[i+7];
|
148
148
|
}
|
149
149
|
for( ; (i+4)<=laneCount; i+=4) {
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
150
|
+
state->A[i+0] ^= ((uint64_t*)data)[i+0];
|
151
|
+
state->A[i+1] ^= ((uint64_t*)data)[i+1];
|
152
|
+
state->A[i+2] ^= ((uint64_t*)data)[i+2];
|
153
|
+
state->A[i+3] ^= ((uint64_t*)data)[i+3];
|
154
154
|
}
|
155
155
|
for( ; (i+2)<=laneCount; i+=2) {
|
156
|
-
|
157
|
-
|
156
|
+
state->A[i+0] ^= ((uint64_t*)data)[i+0];
|
157
|
+
state->A[i+1] ^= ((uint64_t*)data)[i+1];
|
158
158
|
}
|
159
159
|
if (i<laneCount) {
|
160
|
-
|
160
|
+
state->A[i+0] ^= ((uint64_t*)data)[i+0];
|
161
161
|
}
|
162
162
|
}
|
163
163
|
#else
|
@@ -172,7 +172,7 @@ void KeccakP1600_AddLanes(void *state, const unsigned char *data, unsigned int l
|
|
172
172
|
| ((uint64_t)curData[5] << 40)
|
173
173
|
| ((uint64_t)curData[6] << 48)
|
174
174
|
| ((uint64_t)curData[7] << 56);
|
175
|
-
|
175
|
+
state->A[i] ^= lane;
|
176
176
|
}
|
177
177
|
#endif
|
178
178
|
}
|
@@ -180,24 +180,24 @@ void KeccakP1600_AddLanes(void *state, const unsigned char *data, unsigned int l
|
|
180
180
|
/* ---------------------------------------------------------------- */
|
181
181
|
|
182
182
|
#if (PLATFORM_BYTE_ORDER != IS_LITTLE_ENDIAN)
|
183
|
-
void KeccakP1600_AddByte(
|
183
|
+
void KeccakP1600_AddByte(KeccakP1600_plain64_state *state, unsigned char byte, unsigned int offset)
|
184
184
|
{
|
185
185
|
uint64_t lane = byte;
|
186
186
|
lane <<= (offset%8)*8;
|
187
|
-
|
187
|
+
state->A[offset/8] ^= lane;
|
188
188
|
}
|
189
189
|
#endif
|
190
190
|
|
191
191
|
/* ---------------------------------------------------------------- */
|
192
192
|
|
193
|
-
void KeccakP1600_AddBytes(
|
193
|
+
void KeccakP1600_AddBytes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
194
194
|
{
|
195
195
|
SnP_AddBytes(state, data, offset, length, KeccakP1600_AddLanes, KeccakP1600_AddBytesInLane, 8);
|
196
196
|
}
|
197
197
|
|
198
198
|
/* ---------------------------------------------------------------- */
|
199
199
|
|
200
|
-
void KeccakP1600_OverwriteBytesInLane(
|
200
|
+
void KeccakP1600_OverwriteBytesInLane(KeccakP1600_plain64_state *state, unsigned int lanePosition, const unsigned char *data, unsigned int offset, unsigned int length)
|
201
201
|
{
|
202
202
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
203
203
|
#ifdef KeccakP1600_useLaneComplementing
|
@@ -212,7 +212,7 @@ void KeccakP1600_OverwriteBytesInLane(void *state, unsigned int lanePosition, co
|
|
212
212
|
memcpy((unsigned char*)state+lanePosition*8+offset, data, length);
|
213
213
|
}
|
214
214
|
#else
|
215
|
-
uint64_t lane =
|
215
|
+
uint64_t lane = state->A[lanePosition];
|
216
216
|
unsigned int i;
|
217
217
|
for(i=0; i<length; i++) {
|
218
218
|
lane &= ~((uint64_t)0xFF << ((offset+i)*8));
|
@@ -223,13 +223,13 @@ void KeccakP1600_OverwriteBytesInLane(void *state, unsigned int lanePosition, co
|
|
223
223
|
#endif
|
224
224
|
lane |= (uint64_t)data[i] << ((offset+i)*8);
|
225
225
|
}
|
226
|
-
|
226
|
+
state->A[lanePosition] = lane;
|
227
227
|
#endif
|
228
228
|
}
|
229
229
|
|
230
230
|
/* ---------------------------------------------------------------- */
|
231
231
|
|
232
|
-
void KeccakP1600_OverwriteLanes(
|
232
|
+
void KeccakP1600_OverwriteLanes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int laneCount)
|
233
233
|
{
|
234
234
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
235
235
|
#ifdef KeccakP1600_useLaneComplementing
|
@@ -237,9 +237,9 @@ void KeccakP1600_OverwriteLanes(void *state, const unsigned char *data, unsigned
|
|
237
237
|
|
238
238
|
for(lanePosition=0; lanePosition<laneCount; lanePosition++)
|
239
239
|
if ((lanePosition == 1) || (lanePosition == 2) || (lanePosition == 8) || (lanePosition == 12) || (lanePosition == 17) || (lanePosition == 20))
|
240
|
-
|
240
|
+
state->A[lanePosition] = ~((const uint64_t*)data)[lanePosition];
|
241
241
|
else
|
242
|
-
|
242
|
+
state->A[lanePosition] = ((const uint64_t*)data)[lanePosition];
|
243
243
|
#else
|
244
244
|
memcpy(state, data, laneCount*8);
|
245
245
|
#endif
|
@@ -257,24 +257,24 @@ void KeccakP1600_OverwriteLanes(void *state, const unsigned char *data, unsigned
|
|
257
257
|
| ((uint64_t)curData[7] << 56);
|
258
258
|
#ifdef KeccakP1600_useLaneComplementing
|
259
259
|
if ((lanePosition == 1) || (lanePosition == 2) || (lanePosition == 8) || (lanePosition == 12) || (lanePosition == 17) || (lanePosition == 20))
|
260
|
-
|
260
|
+
state->A[lanePosition] = ~lane;
|
261
261
|
else
|
262
262
|
#endif
|
263
|
-
|
263
|
+
state->A[lanePosition] = lane;
|
264
264
|
}
|
265
265
|
#endif
|
266
266
|
}
|
267
267
|
|
268
268
|
/* ---------------------------------------------------------------- */
|
269
269
|
|
270
|
-
void KeccakP1600_OverwriteBytes(
|
270
|
+
void KeccakP1600_OverwriteBytes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
271
271
|
{
|
272
272
|
SnP_OverwriteBytes(state, data, offset, length, KeccakP1600_OverwriteLanes, KeccakP1600_OverwriteBytesInLane, 8);
|
273
273
|
}
|
274
274
|
|
275
275
|
/* ---------------------------------------------------------------- */
|
276
276
|
|
277
|
-
void KeccakP1600_OverwriteWithZeroes(
|
277
|
+
void KeccakP1600_OverwriteWithZeroes(KeccakP1600_plain64_state *state, unsigned int byteCount)
|
278
278
|
{
|
279
279
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
280
280
|
#ifdef KeccakP1600_useLaneComplementing
|
@@ -282,9 +282,9 @@ void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount)
|
|
282
282
|
|
283
283
|
for(lanePosition=0; lanePosition<byteCount/8; lanePosition++)
|
284
284
|
if ((lanePosition == 1) || (lanePosition == 2) || (lanePosition == 8) || (lanePosition == 12) || (lanePosition == 17) || (lanePosition == 20))
|
285
|
-
|
285
|
+
state->A[lanePosition] = ~0;
|
286
286
|
else
|
287
|
-
|
287
|
+
state->A[lanePosition] = 0;
|
288
288
|
if (byteCount%8 != 0) {
|
289
289
|
lanePosition = byteCount/8;
|
290
290
|
if ((lanePosition == 1) || (lanePosition == 2) || (lanePosition == 8) || (lanePosition == 12) || (lanePosition == 17) || (lanePosition == 20))
|
@@ -302,13 +302,13 @@ void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount)
|
|
302
302
|
if (i+8 <= byteCount) {
|
303
303
|
#ifdef KeccakP1600_useLaneComplementing
|
304
304
|
if ((lanePosition == 1) || (lanePosition == 2) || (lanePosition == 8) || (lanePosition == 12) || (lanePosition == 17) || (lanePosition == 20))
|
305
|
-
|
305
|
+
state->A[lanePosition] = ~(uint64_t)0;
|
306
306
|
else
|
307
307
|
#endif
|
308
|
-
|
308
|
+
state->A[lanePosition] = 0;
|
309
309
|
}
|
310
310
|
else {
|
311
|
-
uint64_t lane =
|
311
|
+
uint64_t lane = state->A[lanePosition];
|
312
312
|
for(j=0; j<byteCount%8; j++) {
|
313
313
|
#ifdef KeccakP1600_useLaneComplementing
|
314
314
|
if ((lanePosition == 1) || (lanePosition == 2) || (lanePosition == 8) || (lanePosition == 12) || (lanePosition == 17) || (lanePosition == 20))
|
@@ -317,7 +317,7 @@ void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount)
|
|
317
317
|
#endif
|
318
318
|
lane &= ~((uint64_t)0xFF << (j*8));
|
319
319
|
}
|
320
|
-
|
320
|
+
state->A[lanePosition] = lane;
|
321
321
|
}
|
322
322
|
}
|
323
323
|
#endif
|
@@ -325,11 +325,11 @@ void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount)
|
|
325
325
|
|
326
326
|
/* ---------------------------------------------------------------- */
|
327
327
|
|
328
|
-
void KeccakP1600_Permute_Nrounds(
|
328
|
+
void KeccakP1600_Permute_Nrounds(KeccakP1600_plain64_state *state, unsigned int nr)
|
329
329
|
{
|
330
330
|
declareABCDE
|
331
331
|
unsigned int i;
|
332
|
-
uint64_t *stateAsLanes =
|
332
|
+
uint64_t *stateAsLanes = state->A;
|
333
333
|
|
334
334
|
copyFromState(A, stateAsLanes)
|
335
335
|
roundsN(nr)
|
@@ -339,13 +339,13 @@ void KeccakP1600_Permute_Nrounds(void *state, unsigned int nr)
|
|
339
339
|
|
340
340
|
/* ---------------------------------------------------------------- */
|
341
341
|
|
342
|
-
void KeccakP1600_Permute_24rounds(
|
342
|
+
void KeccakP1600_Permute_24rounds(KeccakP1600_plain64_state *state)
|
343
343
|
{
|
344
344
|
declareABCDE
|
345
345
|
#ifndef KeccakP1600_fullUnrolling
|
346
346
|
unsigned int i;
|
347
347
|
#endif
|
348
|
-
uint64_t *stateAsLanes =
|
348
|
+
uint64_t *stateAsLanes = state->A;
|
349
349
|
|
350
350
|
copyFromState(A, stateAsLanes)
|
351
351
|
rounds24
|
@@ -354,13 +354,13 @@ void KeccakP1600_Permute_24rounds(void *state)
|
|
354
354
|
|
355
355
|
/* ---------------------------------------------------------------- */
|
356
356
|
|
357
|
-
void KeccakP1600_Permute_12rounds(
|
357
|
+
void KeccakP1600_Permute_12rounds(KeccakP1600_plain64_state *state)
|
358
358
|
{
|
359
359
|
declareABCDE
|
360
360
|
#ifndef KeccakP1600_fullUnrolling
|
361
361
|
unsigned int i;
|
362
362
|
#endif
|
363
|
-
uint64_t *stateAsLanes =
|
363
|
+
uint64_t *stateAsLanes = state->A;
|
364
364
|
|
365
365
|
copyFromState(A, stateAsLanes)
|
366
366
|
rounds12
|
@@ -369,9 +369,9 @@ void KeccakP1600_Permute_12rounds(void *state)
|
|
369
369
|
|
370
370
|
/* ---------------------------------------------------------------- */
|
371
371
|
|
372
|
-
void KeccakP1600_ExtractBytesInLane(const
|
372
|
+
void KeccakP1600_ExtractBytesInLane(const KeccakP1600_plain64_state *state, unsigned int lanePosition, unsigned char *data, unsigned int offset, unsigned int length)
|
373
373
|
{
|
374
|
-
uint64_t lane =
|
374
|
+
uint64_t lane = state->A[lanePosition];
|
375
375
|
#ifdef KeccakP1600_useLaneComplementing
|
376
376
|
if ((lanePosition == 1) || (lanePosition == 2) || (lanePosition == 8) || (lanePosition == 12) || (lanePosition == 17) || (lanePosition == 20))
|
377
377
|
lane = ~lane;
|
@@ -404,7 +404,7 @@ static void fromWordToBytes(uint8_t *bytes, const uint64_t word)
|
|
404
404
|
}
|
405
405
|
#endif
|
406
406
|
|
407
|
-
void KeccakP1600_ExtractLanes(const
|
407
|
+
void KeccakP1600_ExtractLanes(const KeccakP1600_plain64_state *state, unsigned char *data, unsigned int laneCount)
|
408
408
|
{
|
409
409
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
410
410
|
memcpy(data, state, laneCount*8);
|
@@ -438,16 +438,16 @@ void KeccakP1600_ExtractLanes(const void *state, unsigned char *data, unsigned i
|
|
438
438
|
|
439
439
|
/* ---------------------------------------------------------------- */
|
440
440
|
|
441
|
-
void KeccakP1600_ExtractBytes(const
|
441
|
+
void KeccakP1600_ExtractBytes(const KeccakP1600_plain64_state *state, unsigned char *data, unsigned int offset, unsigned int length)
|
442
442
|
{
|
443
443
|
SnP_ExtractBytes(state, data, offset, length, KeccakP1600_ExtractLanes, KeccakP1600_ExtractBytesInLane, 8);
|
444
444
|
}
|
445
445
|
|
446
446
|
/* ---------------------------------------------------------------- */
|
447
447
|
|
448
|
-
void KeccakP1600_ExtractAndAddBytesInLane(const
|
448
|
+
void KeccakP1600_ExtractAndAddBytesInLane(const KeccakP1600_plain64_state *state, unsigned int lanePosition, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
|
449
449
|
{
|
450
|
-
uint64_t lane =
|
450
|
+
uint64_t lane = state->A[lanePosition];
|
451
451
|
#ifdef KeccakP1600_useLaneComplementing
|
452
452
|
if ((lanePosition == 1) || (lanePosition == 2) || (lanePosition == 8) || (lanePosition == 12) || (lanePosition == 17) || (lanePosition == 20))
|
453
453
|
lane = ~lane;
|
@@ -472,7 +472,7 @@ void KeccakP1600_ExtractAndAddBytesInLane(const void *state, unsigned int lanePo
|
|
472
472
|
|
473
473
|
/* ---------------------------------------------------------------- */
|
474
474
|
|
475
|
-
void KeccakP1600_ExtractAndAddLanes(const
|
475
|
+
void KeccakP1600_ExtractAndAddLanes(const KeccakP1600_plain64_state *state, const unsigned char *input, unsigned char *output, unsigned int laneCount)
|
476
476
|
{
|
477
477
|
unsigned int i;
|
478
478
|
#if (PLATFORM_BYTE_ORDER != IS_LITTLE_ENDIAN)
|
@@ -513,21 +513,21 @@ void KeccakP1600_ExtractAndAddLanes(const void *state, const unsigned char *inpu
|
|
513
513
|
|
514
514
|
/* ---------------------------------------------------------------- */
|
515
515
|
|
516
|
-
void KeccakP1600_ExtractAndAddBytes(const
|
516
|
+
void KeccakP1600_ExtractAndAddBytes(const KeccakP1600_plain64_state *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
|
517
517
|
{
|
518
518
|
SnP_ExtractAndAddBytes(state, input, output, offset, length, KeccakP1600_ExtractAndAddLanes, KeccakP1600_ExtractAndAddBytesInLane, 8);
|
519
519
|
}
|
520
520
|
|
521
521
|
/* ---------------------------------------------------------------- */
|
522
522
|
|
523
|
-
size_t KeccakF1600_FastLoop_Absorb(
|
523
|
+
size_t KeccakF1600_FastLoop_Absorb(KeccakP1600_plain64_state *state, unsigned int laneCount, const unsigned char *data, size_t dataByteLen)
|
524
524
|
{
|
525
525
|
size_t originalDataByteLen = dataByteLen;
|
526
526
|
declareABCDE
|
527
527
|
#ifndef KeccakP1600_fullUnrolling
|
528
528
|
unsigned int i;
|
529
529
|
#endif
|
530
|
-
uint64_t *stateAsLanes =
|
530
|
+
uint64_t *stateAsLanes = state->A;
|
531
531
|
uint64_t *inDataAsLanes = (uint64_t*)data;
|
532
532
|
|
533
533
|
copyFromState(A, stateAsLanes)
|
@@ -543,14 +543,14 @@ size_t KeccakF1600_FastLoop_Absorb(void *state, unsigned int laneCount, const un
|
|
543
543
|
|
544
544
|
/* ---------------------------------------------------------------- */
|
545
545
|
|
546
|
-
size_t KeccakP1600_12rounds_FastLoop_Absorb(
|
546
|
+
size_t KeccakP1600_12rounds_FastLoop_Absorb(KeccakP1600_plain64_state *state, unsigned int laneCount, const unsigned char *data, size_t dataByteLen)
|
547
547
|
{
|
548
548
|
size_t originalDataByteLen = dataByteLen;
|
549
549
|
declareABCDE
|
550
550
|
#ifndef KeccakP1600_fullUnrolling
|
551
551
|
unsigned int i;
|
552
552
|
#endif
|
553
|
-
uint64_t *stateAsLanes =
|
553
|
+
uint64_t *stateAsLanes = state->A;
|
554
554
|
uint64_t *inDataAsLanes = (uint64_t*)data;
|
555
555
|
|
556
556
|
copyFromState(A, stateAsLanes)
|
@@ -607,7 +607,7 @@ KeccakP1600times2_StaticInitialize:
|
|
607
607
|
|
608
608
|
@----------------------------------------------------------------------------
|
609
609
|
@
|
610
|
-
@ void KeccakP1600times2_InitializeAll(
|
610
|
+
@ void KeccakP1600times2_InitializeAll( KeccakP1600times2_states *states )
|
611
611
|
@
|
612
612
|
.align 8
|
613
613
|
.global KeccakP1600times2_InitializeAll
|
@@ -630,7 +630,7 @@ KeccakP1600times2_InitializeAll:
|
|
630
630
|
|
631
631
|
@----------------------------------------------------------------------------
|
632
632
|
@
|
633
|
-
@ void KeccakP1600times2_AddByte(
|
633
|
+
@ void KeccakP1600times2_AddByte( KeccakP1600times2_states *states, unsigned int instanceIndex, unsigned char byte, unsigned int offset )
|
634
634
|
@
|
635
635
|
.align 8
|
636
636
|
.global KeccakP1600times2_AddByte
|
@@ -649,7 +649,7 @@ KeccakP1600times2_AddByte:
|
|
649
649
|
|
650
650
|
@----------------------------------------------------------------------------
|
651
651
|
@
|
652
|
-
@ void KeccakP1600times2_AddBytes(
|
652
|
+
@ void KeccakP1600times2_AddBytes( KeccakP1600times2_states *states, unsigned int instanceIndex, const unsigned char *data,
|
653
653
|
@ unsigned int offset, unsigned int length )
|
654
654
|
@
|
655
655
|
.align 8
|
@@ -709,7 +709,7 @@ KeccakP1600times2_AddBytes_Exit:
|
|
709
709
|
|
710
710
|
@----------------------------------------------------------------------------
|
711
711
|
@
|
712
|
-
@ void KeccakP1600times2_AddLanesAll(
|
712
|
+
@ void KeccakP1600times2_AddLanesAll( KeccakP1600times2_states *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset )
|
713
713
|
@
|
714
714
|
.align 8
|
715
715
|
.global KeccakP1600times2_AddLanesAll
|
@@ -741,7 +741,7 @@ KeccakP1600times2_AddLanesAll_Exit:
|
|
741
741
|
|
742
742
|
@----------------------------------------------------------------------------
|
743
743
|
@
|
744
|
-
@ void KeccakP1600times2_OverwriteBytes(
|
744
|
+
@ void KeccakP1600times2_OverwriteBytes( KeccakP1600times2_states *states, unsigned int instanceIndex, const unsigned char *data,
|
745
745
|
@ unsigned int offset, unsigned int length )
|
746
746
|
@
|
747
747
|
.align 8
|
@@ -793,7 +793,7 @@ KeccakP1600times2_OverwriteBytes_Exit:
|
|
793
793
|
|
794
794
|
@----------------------------------------------------------------------------
|
795
795
|
@
|
796
|
-
@ KeccakP1600times2_OverwriteLanesAll(
|
796
|
+
@ KeccakP1600times2_OverwriteLanesAll( KeccakP1600times2_states *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset )
|
797
797
|
@
|
798
798
|
.align 8
|
799
799
|
.global KeccakP1600times2_OverwriteLanesAll
|
@@ -838,7 +838,7 @@ KeccakP1600times2_OverwriteLanesAll_Exit:
|
|
838
838
|
|
839
839
|
@----------------------------------------------------------------------------
|
840
840
|
@
|
841
|
-
@ void KeccakP1600times2_OverwriteWithZeroes(
|
841
|
+
@ void KeccakP1600times2_OverwriteWithZeroes( KeccakP1600times2_states *states, unsigned int instanceIndex, unsigned int byteCount )
|
842
842
|
@
|
843
843
|
.align 8
|
844
844
|
.global KeccakP1600times2_OverwriteWithZeroes
|
@@ -867,7 +867,7 @@ KeccakP1600times2_OverwriteWithZeroes_Exit:
|
|
867
867
|
|
868
868
|
@----------------------------------------------------------------------------
|
869
869
|
@
|
870
|
-
@ void KeccakP1600times2_ExtractBytes(
|
870
|
+
@ void KeccakP1600times2_ExtractBytes( KeccakP1600times2_states *states, unsigned int instanceIndex, const unsigned char *data,
|
871
871
|
@ unsigned int offset, unsigned int length )
|
872
872
|
@
|
873
873
|
.align 8
|
@@ -919,7 +919,7 @@ KeccakP1600times2_ExtractBytes_Exit:
|
|
919
919
|
|
920
920
|
@----------------------------------------------------------------------------
|
921
921
|
@
|
922
|
-
@ void KeccakP1600times2_ExtractLanesAll( const
|
922
|
+
@ void KeccakP1600times2_ExtractLanesAll( const KeccakP1600times2_states *states, unsigned char *data, unsigned int laneCount, unsigned int laneOffset )
|
923
923
|
@
|
924
924
|
.align 8
|
925
925
|
.global KeccakP1600times2_ExtractLanesAll
|
@@ -964,7 +964,7 @@ KeccakP1600times2_ExtractLanesAll_Exit:
|
|
964
964
|
|
965
965
|
@----------------------------------------------------------------------------
|
966
966
|
@
|
967
|
-
@ void KeccakP1600times2_ExtractAndAddBytes(
|
967
|
+
@ void KeccakP1600times2_ExtractAndAddBytes( KeccakP1600times2_states *states, unsigned int instanceIndex,
|
968
968
|
@ const unsigned char *input, unsigned char *output,
|
969
969
|
@ unsigned int offset, unsigned int length )
|
970
970
|
@
|
@@ -1026,7 +1026,7 @@ KeccakP1600times2_ExtractAndAddBytes_Exit:
|
|
1026
1026
|
|
1027
1027
|
@----------------------------------------------------------------------------
|
1028
1028
|
@
|
1029
|
-
@ void KeccakP1600times2_ExtractAndAddLanesAll( const
|
1029
|
+
@ void KeccakP1600times2_ExtractAndAddLanesAll( const KeccakP1600times2_states *states,
|
1030
1030
|
@ const unsigned char *input, unsigned char *output,
|
1031
1031
|
@ unsigned int laneCount, unsigned int laneOffset )
|
1032
1032
|
@
|
@@ -1098,7 +1098,7 @@ KeccakP1600times2_ExtractAndAddLanesAll_Exit:
|
|
1098
1098
|
|
1099
1099
|
@----------------------------------------------------------------------------
|
1100
1100
|
@
|
1101
|
-
@ void KeccakP1600times2_PermuteAll_6rounds(
|
1101
|
+
@ void KeccakP1600times2_PermuteAll_6rounds( KeccakP1600times2_states *states )
|
1102
1102
|
@
|
1103
1103
|
.align 8
|
1104
1104
|
.global KeccakP1600times2_PermuteAll_6rounds
|
@@ -1259,7 +1259,7 @@ KeccakP1600times2_Permute_RoundConstants4:
|
|
1259
1259
|
|
1260
1260
|
@----------------------------------------------------------------------------
|
1261
1261
|
@
|
1262
|
-
@ void KeccakP1600times2_PermuteAll_24rounds(
|
1262
|
+
@ void KeccakP1600times2_PermuteAll_24rounds( KeccakP1600times2_states *states )
|
1263
1263
|
@
|
1264
1264
|
.align 8
|
1265
1265
|
.global KeccakP1600times2_PermuteAll_24rounds
|
@@ -1272,7 +1272,7 @@ KeccakP1600times2_PermuteAll_24rounds:
|
|
1272
1272
|
|
1273
1273
|
@----------------------------------------------------------------------------
|
1274
1274
|
@
|
1275
|
-
@ void KeccakP1600times2_PermuteAll_12rounds(
|
1275
|
+
@ void KeccakP1600times2_PermuteAll_12rounds( KeccakP1600times2_states *states )
|
1276
1276
|
@
|
1277
1277
|
.align 8
|
1278
1278
|
.global KeccakP1600times2_PermuteAll_12rounds
|
@@ -1285,7 +1285,7 @@ KeccakP1600times2_PermuteAll_12rounds:
|
|
1285
1285
|
|
1286
1286
|
@----------------------------------------------------------------------------
|
1287
1287
|
@
|
1288
|
-
@ void KeccakP1600times2_PermuteAll_4rounds(
|
1288
|
+
@ void KeccakP1600times2_PermuteAll_4rounds( KeccakP1600times2_states *states )
|
1289
1289
|
@
|
1290
1290
|
.align 8
|
1291
1291
|
.global KeccakP1600times2_PermuteAll_4rounds
|
@@ -1298,7 +1298,7 @@ KeccakP1600times2_PermuteAll_4rounds:
|
|
1298
1298
|
|
1299
1299
|
@----------------------------------------------------------------------------
|
1300
1300
|
@
|
1301
|
-
@ void KeccakP1600times2_PermuteAll(
|
1301
|
+
@ void KeccakP1600times2_PermuteAll( KeccakP1600times2_states *states, void *rc, unsigned int nr )
|
1302
1302
|
@
|
1303
1303
|
.align 8
|
1304
1304
|
.type KeccakP1600times2_PermuteAll, %function;
|
@@ -18,25 +18,32 @@ 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 <stdint.h>
|
22
|
+
|
23
|
+
typedef struct {
|
24
|
+
ALIGN(32) uint64_t A[25][2];
|
25
|
+
} KeccakP1600times2_align256SIMD128_states;
|
26
|
+
|
27
|
+
typedef KeccakP1600times2_align256SIMD128_states KeccakP1600times2_states;
|
28
|
+
|
21
29
|
#define KeccakP1600times2_implementation "64-bit optimized ARM NEON assembler implementation"
|
22
|
-
#define
|
23
|
-
#define KeccakP1600times2_statesAlignment 64
|
30
|
+
#define KeccakP1600times2_statesAlignment 32
|
24
31
|
|
25
32
|
void KeccakP1600times2_StaticInitialize( void );
|
26
|
-
void KeccakP1600times2_InitializeAll(
|
27
|
-
void KeccakP1600times2_AddByte(
|
28
|
-
void KeccakP1600times2_AddBytes(
|
29
|
-
void KeccakP1600times2_AddLanesAll(
|
30
|
-
void KeccakP1600times2_OverwriteBytes(
|
31
|
-
void KeccakP1600times2_OverwriteLanesAll(
|
32
|
-
void KeccakP1600times2_OverwriteWithZeroes(
|
33
|
-
void KeccakP1600times2_PermuteAll_4rounds(
|
34
|
-
void KeccakP1600times2_PermuteAll_6rounds(
|
35
|
-
void KeccakP1600times2_PermuteAll_12rounds(
|
36
|
-
void KeccakP1600times2_PermuteAll_24rounds(
|
37
|
-
void KeccakP1600times2_ExtractBytes(const
|
38
|
-
void KeccakP1600times2_ExtractLanesAll(const
|
39
|
-
void KeccakP1600times2_ExtractAndAddBytes(const
|
40
|
-
void KeccakP1600times2_ExtractAndAddLanesAll(const
|
33
|
+
void KeccakP1600times2_InitializeAll(KeccakP1600times2_states *states);
|
34
|
+
void KeccakP1600times2_AddByte(KeccakP1600times2_states *states, unsigned int instanceIndex, unsigned char data, unsigned int offset);
|
35
|
+
void KeccakP1600times2_AddBytes(KeccakP1600times2_states *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length);
|
36
|
+
void KeccakP1600times2_AddLanesAll(KeccakP1600times2_states *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
|
37
|
+
void KeccakP1600times2_OverwriteBytes(KeccakP1600times2_states *states, unsigned int instanceIndex, const unsigned char *data, unsigned int offset, unsigned int length);
|
38
|
+
void KeccakP1600times2_OverwriteLanesAll(KeccakP1600times2_states *states, const unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
|
39
|
+
void KeccakP1600times2_OverwriteWithZeroes(KeccakP1600times2_states *states, unsigned int instanceIndex, unsigned int byteCount);
|
40
|
+
void KeccakP1600times2_PermuteAll_4rounds(KeccakP1600times2_states *states);
|
41
|
+
void KeccakP1600times2_PermuteAll_6rounds(KeccakP1600times2_states *states);
|
42
|
+
void KeccakP1600times2_PermuteAll_12rounds(KeccakP1600times2_states *states);
|
43
|
+
void KeccakP1600times2_PermuteAll_24rounds(KeccakP1600times2_states *states);
|
44
|
+
void KeccakP1600times2_ExtractBytes(const KeccakP1600times2_states *states, unsigned int instanceIndex, unsigned char *data, unsigned int offset, unsigned int length);
|
45
|
+
void KeccakP1600times2_ExtractLanesAll(const KeccakP1600times2_states *states, unsigned char *data, unsigned int laneCount, unsigned int laneOffset);
|
46
|
+
void KeccakP1600times2_ExtractAndAddBytes(const KeccakP1600times2_states *states, unsigned int instanceIndex, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
|
47
|
+
void KeccakP1600times2_ExtractAndAddLanesAll(const KeccakP1600times2_states *states, const unsigned char *input, unsigned char *output, unsigned int laneCount, unsigned int laneOffset);
|
41
48
|
|
42
49
|
#endif
|