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
@@ -21,20 +21,26 @@ Please refer to SnP-documentation.h for more details.
|
|
21
21
|
#ifndef _KeccakP_1600_SnP_h_
|
22
22
|
#define _KeccakP_1600_SnP_h_
|
23
23
|
|
24
|
+
#include <stdint.h>
|
25
|
+
|
24
26
|
#define KeccakP1600_implementation "64-bit compact implementation"
|
25
|
-
|
26
|
-
|
27
|
+
|
28
|
+
typedef struct {
|
29
|
+
uint64_t A[25];
|
30
|
+
} KeccakP1600_plain64_state;
|
31
|
+
|
32
|
+
typedef KeccakP1600_plain64_state KeccakP1600_state;
|
27
33
|
|
28
34
|
#define KeccakP1600_StaticInitialize()
|
29
|
-
void KeccakP1600_Initialize(
|
30
|
-
void KeccakP1600_AddByte(
|
31
|
-
void KeccakP1600_AddBytes(
|
32
|
-
void KeccakP1600_OverwriteBytes(
|
33
|
-
void KeccakP1600_OverwriteWithZeroes(
|
34
|
-
void KeccakP1600_Permute_Nrounds(
|
35
|
-
void KeccakP1600_Permute_12rounds(
|
36
|
-
void KeccakP1600_Permute_24rounds(
|
37
|
-
void KeccakP1600_ExtractBytes(const
|
38
|
-
void KeccakP1600_ExtractAndAddBytes(const
|
35
|
+
void KeccakP1600_Initialize(KeccakP1600_plain64_state *state);
|
36
|
+
void KeccakP1600_AddByte(KeccakP1600_plain64_state *state, unsigned char data, unsigned int offset);
|
37
|
+
void KeccakP1600_AddBytes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
|
38
|
+
void KeccakP1600_OverwriteBytes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
|
39
|
+
void KeccakP1600_OverwriteWithZeroes(KeccakP1600_plain64_state *state, unsigned int byteCount);
|
40
|
+
void KeccakP1600_Permute_Nrounds(KeccakP1600_plain64_state *state, unsigned int nrounds);
|
41
|
+
void KeccakP1600_Permute_12rounds(KeccakP1600_plain64_state *state);
|
42
|
+
void KeccakP1600_Permute_24rounds(KeccakP1600_plain64_state *state);
|
43
|
+
void KeccakP1600_ExtractBytes(const KeccakP1600_plain64_state *state, unsigned char *data, unsigned int offset, unsigned int length);
|
44
|
+
void KeccakP1600_ExtractAndAddBytes(const KeccakP1600_plain64_state *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
|
39
45
|
|
40
46
|
#endif
|
@@ -101,7 +101,7 @@ static tKeccakLane KeccakF1600_GetNextRoundConstant( uint8_t *LFSR )
|
|
101
101
|
|
102
102
|
/* ---------------------------------------------------------------- */
|
103
103
|
|
104
|
-
void KeccakP1600_Initialize(
|
104
|
+
void KeccakP1600_Initialize(KeccakP1600_plain64_state *argState)
|
105
105
|
{
|
106
106
|
#if defined(USE_MEMSET)
|
107
107
|
memset( argState, 0, 25 * 8 );
|
@@ -121,7 +121,7 @@ void KeccakP1600_Initialize(void *argState)
|
|
121
121
|
|
122
122
|
/* ---------------------------------------------------------------- */
|
123
123
|
|
124
|
-
void KeccakP1600_AddBytesInLane(
|
124
|
+
void KeccakP1600_AddBytesInLane(KeccakP1600_plain64_state *argState, unsigned int lanePosition, const unsigned char *data, unsigned int offset, unsigned int length)
|
125
125
|
{
|
126
126
|
unsigned int i;
|
127
127
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
@@ -138,7 +138,7 @@ void KeccakP1600_AddBytesInLane(void *argState, unsigned int lanePosition, const
|
|
138
138
|
|
139
139
|
/* ---------------------------------------------------------------- */
|
140
140
|
|
141
|
-
void KeccakP1600_AddLanes(
|
141
|
+
void KeccakP1600_AddLanes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int laneCount)
|
142
142
|
{
|
143
143
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
144
144
|
tSmallUInt i;
|
@@ -165,7 +165,7 @@ void KeccakP1600_AddLanes(void *state, const unsigned char *data, unsigned int l
|
|
165
165
|
|
166
166
|
/* ---------------------------------------------------------------- */
|
167
167
|
|
168
|
-
void KeccakP1600_AddByte(
|
168
|
+
void KeccakP1600_AddByte(KeccakP1600_plain64_state *state, unsigned char byte, unsigned int offset)
|
169
169
|
{
|
170
170
|
uint64_t lane = byte;
|
171
171
|
lane <<= (offset%8)*8;
|
@@ -174,14 +174,14 @@ void KeccakP1600_AddByte(void *state, unsigned char byte, unsigned int offset)
|
|
174
174
|
|
175
175
|
/* ---------------------------------------------------------------- */
|
176
176
|
|
177
|
-
void KeccakP1600_AddBytes(
|
177
|
+
void KeccakP1600_AddBytes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
178
178
|
{
|
179
179
|
SnP_AddBytes(state, data, offset, length, KeccakP1600_AddLanes, KeccakP1600_AddBytesInLane, 8);
|
180
180
|
}
|
181
181
|
|
182
182
|
/* ---------------------------------------------------------------- */
|
183
183
|
|
184
|
-
void KeccakP1600_OverwriteBytesInLane(
|
184
|
+
void KeccakP1600_OverwriteBytesInLane(KeccakP1600_plain64_state *argState, unsigned int lanePosition, const unsigned char *data, unsigned int offset, unsigned int length)
|
185
185
|
{
|
186
186
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
187
187
|
memcpy((unsigned char*)argState+lanePosition*8+offset, data, length);
|
@@ -199,7 +199,7 @@ void KeccakP1600_OverwriteBytesInLane(void *argState, unsigned int lanePosition,
|
|
199
199
|
|
200
200
|
/* ---------------------------------------------------------------- */
|
201
201
|
|
202
|
-
void KeccakP1600_OverwriteLanes(
|
202
|
+
void KeccakP1600_OverwriteLanes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int laneCount)
|
203
203
|
{
|
204
204
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
205
205
|
memcpy((unsigned char*)state, data, laneCount*8);
|
@@ -222,14 +222,14 @@ void KeccakP1600_OverwriteLanes(void *state, const unsigned char *data, unsigned
|
|
222
222
|
|
223
223
|
/* ---------------------------------------------------------------- */
|
224
224
|
|
225
|
-
void KeccakP1600_OverwriteBytes(
|
225
|
+
void KeccakP1600_OverwriteBytes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
226
226
|
{
|
227
227
|
SnP_OverwriteBytes(state, data, offset, length, KeccakP1600_OverwriteLanes, KeccakP1600_OverwriteBytesInLane, 8);
|
228
228
|
}
|
229
229
|
|
230
230
|
/* ---------------------------------------------------------------- */
|
231
231
|
|
232
|
-
void KeccakP1600_OverwriteWithZeroes(
|
232
|
+
void KeccakP1600_OverwriteWithZeroes(KeccakP1600_plain64_state *argState, unsigned int byteCount)
|
233
233
|
{
|
234
234
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
235
235
|
memset((unsigned char*)argState, 0, byteCount);
|
@@ -245,7 +245,7 @@ void KeccakP1600_OverwriteWithZeroes(void *argState, unsigned int byteCount)
|
|
245
245
|
|
246
246
|
/* ---------------------------------------------------------------- */
|
247
247
|
|
248
|
-
static void KeccakP1600_Permute_NroundsLFSR(
|
248
|
+
static void KeccakP1600_Permute_NroundsLFSR(KeccakP1600_plain64_state *argState, uint8_t rounds, uint8_t LFSRinitialState)
|
249
249
|
{
|
250
250
|
tSmallUInt x, y, round;
|
251
251
|
tKeccakLane temp;
|
@@ -310,7 +310,7 @@ static void KeccakP1600_Permute_NroundsLFSR(void *argState, uint8_t rounds, uint
|
|
310
310
|
|
311
311
|
/* ---------------------------------------------------------------- */
|
312
312
|
|
313
|
-
void KeccakP1600_Permute_Nrounds(
|
313
|
+
void KeccakP1600_Permute_Nrounds(KeccakP1600_plain64_state *state, unsigned int nrounds)
|
314
314
|
{
|
315
315
|
uint8_t LFSRstate;
|
316
316
|
uint8_t nr;
|
@@ -323,21 +323,21 @@ void KeccakP1600_Permute_Nrounds(void *state, unsigned int nrounds)
|
|
323
323
|
|
324
324
|
/* ---------------------------------------------------------------- */
|
325
325
|
|
326
|
-
void KeccakP1600_Permute_12rounds(
|
326
|
+
void KeccakP1600_Permute_12rounds(KeccakP1600_plain64_state *state)
|
327
327
|
{
|
328
328
|
KeccakP1600_Permute_NroundsLFSR(state, 12, 0xD5);
|
329
329
|
}
|
330
330
|
|
331
331
|
/* ---------------------------------------------------------------- */
|
332
332
|
|
333
|
-
void KeccakP1600_Permute_24rounds(
|
333
|
+
void KeccakP1600_Permute_24rounds(KeccakP1600_plain64_state *state)
|
334
334
|
{
|
335
335
|
KeccakP1600_Permute_NroundsLFSR(state, 24, 0x01);
|
336
336
|
}
|
337
337
|
|
338
338
|
/* ---------------------------------------------------------------- */
|
339
339
|
|
340
|
-
void KeccakP1600_ExtractBytesInLane(const
|
340
|
+
void KeccakP1600_ExtractBytesInLane(const KeccakP1600_plain64_state *state, unsigned int lanePosition, unsigned char *data, unsigned int offset, unsigned int length)
|
341
341
|
{
|
342
342
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
343
343
|
memcpy(data, ((uint8_t*)&((tKeccakLane*)state)[lanePosition])+offset, length);
|
@@ -354,7 +354,7 @@ void KeccakP1600_ExtractBytesInLane(const void *state, unsigned int lanePosition
|
|
354
354
|
|
355
355
|
/* ---------------------------------------------------------------- */
|
356
356
|
|
357
|
-
void KeccakP1600_ExtractLanes(const
|
357
|
+
void KeccakP1600_ExtractLanes(const KeccakP1600_plain64_state *state, unsigned char *data, unsigned int laneCount)
|
358
358
|
{
|
359
359
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
360
360
|
memcpy(data, state, laneCount*8);
|
@@ -372,14 +372,14 @@ void KeccakP1600_ExtractLanes(const void *state, unsigned char *data, unsigned i
|
|
372
372
|
|
373
373
|
/* ---------------------------------------------------------------- */
|
374
374
|
|
375
|
-
void KeccakP1600_ExtractBytes(const
|
375
|
+
void KeccakP1600_ExtractBytes(const KeccakP1600_plain64_state *state, unsigned char *data, unsigned int offset, unsigned int length)
|
376
376
|
{
|
377
377
|
SnP_ExtractBytes(state, data, offset, length, KeccakP1600_ExtractLanes, KeccakP1600_ExtractBytesInLane, 8);
|
378
378
|
}
|
379
379
|
|
380
380
|
/* ---------------------------------------------------------------- */
|
381
381
|
|
382
|
-
void KeccakP1600_ExtractAndAddBytesInLane(const
|
382
|
+
void KeccakP1600_ExtractAndAddBytesInLane(const KeccakP1600_plain64_state *state, unsigned int lanePosition, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
|
383
383
|
{
|
384
384
|
tSmallUInt i;
|
385
385
|
tKeccakLane lane = ((tKeccakLane*)state)[lanePosition];
|
@@ -392,7 +392,7 @@ void KeccakP1600_ExtractAndAddBytesInLane(const void *state, unsigned int lanePo
|
|
392
392
|
|
393
393
|
/* ---------------------------------------------------------------- */
|
394
394
|
|
395
|
-
void KeccakP1600_ExtractAndAddLanes(const
|
395
|
+
void KeccakP1600_ExtractAndAddLanes(const KeccakP1600_plain64_state *state, const unsigned char *input, unsigned char *output, unsigned int laneCount)
|
396
396
|
{
|
397
397
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
398
398
|
tSmallUInt i;
|
@@ -412,7 +412,7 @@ void KeccakP1600_ExtractAndAddLanes(const void *state, const unsigned char *inpu
|
|
412
412
|
|
413
413
|
/* ---------------------------------------------------------------- */
|
414
414
|
|
415
|
-
void KeccakP1600_ExtractAndAddBytes(const
|
415
|
+
void KeccakP1600_ExtractAndAddBytes(const KeccakP1600_plain64_state *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
|
416
416
|
{
|
417
417
|
SnP_ExtractAndAddBytes(state, input, output, offset, length, KeccakP1600_ExtractAndAddLanes, KeccakP1600_ExtractAndAddBytesInLane, 8);
|
418
418
|
}
|
data/ext/digest/kangarootwelve/XKCP/lib/low/KeccakP-1600/plain-32bits-inplace/KeccakP-1600-SnP.h
CHANGED
@@ -21,23 +21,29 @@ Please refer to SnP-documentation.h for more details.
|
|
21
21
|
#ifndef _KeccakP_1600_SnP_h_
|
22
22
|
#define _KeccakP_1600_SnP_h_
|
23
23
|
|
24
|
+
#include <stdint.h>
|
25
|
+
|
24
26
|
/** For the documentation, see SnP-documentation.h.
|
25
27
|
*/
|
26
28
|
|
29
|
+
typedef struct {
|
30
|
+
uint32_t A[50];
|
31
|
+
} KeccakP1600_plain32_state;
|
32
|
+
|
33
|
+
typedef KeccakP1600_plain32_state KeccakP1600_state;
|
34
|
+
|
27
35
|
#define KeccakP1600_implementation "in-place 32-bit optimized implementation"
|
28
|
-
#define KeccakP1600_stateSizeInBytes 200
|
29
|
-
#define KeccakP1600_stateAlignment 8
|
30
36
|
|
31
37
|
#define KeccakP1600_StaticInitialize()
|
32
|
-
void KeccakP1600_Initialize(
|
33
|
-
void KeccakP1600_AddByte(
|
34
|
-
void KeccakP1600_AddBytes(
|
35
|
-
void KeccakP1600_OverwriteBytes(
|
36
|
-
void KeccakP1600_OverwriteWithZeroes(
|
37
|
-
void KeccakP1600_Permute_Nrounds(
|
38
|
-
void KeccakP1600_Permute_12rounds(
|
39
|
-
void KeccakP1600_Permute_24rounds(
|
40
|
-
void KeccakP1600_ExtractBytes(const
|
41
|
-
void KeccakP1600_ExtractAndAddBytes(const
|
38
|
+
void KeccakP1600_Initialize(KeccakP1600_plain32_state *state);
|
39
|
+
void KeccakP1600_AddByte(KeccakP1600_plain32_state *state, unsigned char data, unsigned int offset);
|
40
|
+
void KeccakP1600_AddBytes(KeccakP1600_plain32_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
|
41
|
+
void KeccakP1600_OverwriteBytes(KeccakP1600_plain32_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
|
42
|
+
void KeccakP1600_OverwriteWithZeroes(KeccakP1600_plain32_state *state, unsigned int byteCount);
|
43
|
+
void KeccakP1600_Permute_Nrounds(KeccakP1600_plain32_state *state, unsigned int nrounds);
|
44
|
+
void KeccakP1600_Permute_12rounds(KeccakP1600_plain32_state *state);
|
45
|
+
void KeccakP1600_Permute_24rounds(KeccakP1600_plain32_state *state);
|
46
|
+
void KeccakP1600_ExtractBytes(const KeccakP1600_plain32_state *state, unsigned char *data, unsigned int offset, unsigned int length);
|
47
|
+
void KeccakP1600_ExtractAndAddBytes(const KeccakP1600_plain32_state *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
|
42
48
|
|
43
49
|
#endif
|
@@ -84,12 +84,12 @@ Please refer to LowLevel.build for the exact list of other files it must be comb
|
|
84
84
|
lowOut = lowIn ^ temp0; \
|
85
85
|
highOut = highIn ^ temp1;
|
86
86
|
|
87
|
-
void KeccakP1600_SetBytesInLaneToZero(
|
87
|
+
void KeccakP1600_SetBytesInLaneToZero(KeccakP1600_plain32_state *state, unsigned int lanePosition, unsigned int offset, unsigned int length)
|
88
88
|
{
|
89
89
|
uint8_t laneAsBytes[8];
|
90
90
|
uint32_t low, high;
|
91
91
|
uint32_t temp, temp0, temp1;
|
92
|
-
uint32_t *stateAsHalfLanes =
|
92
|
+
uint32_t *stateAsHalfLanes = state->A;
|
93
93
|
|
94
94
|
memset(laneAsBytes, 0xFF, offset);
|
95
95
|
memset(laneAsBytes+offset, 0x00, length);
|
@@ -112,20 +112,20 @@ void KeccakP1600_SetBytesInLaneToZero(void *state, unsigned int lanePosition, un
|
|
112
112
|
|
113
113
|
/* ---------------------------------------------------------------- */
|
114
114
|
|
115
|
-
void KeccakP1600_Initialize(
|
115
|
+
void KeccakP1600_Initialize(KeccakP1600_plain32_state *state)
|
116
116
|
{
|
117
117
|
memset(state, 0, 200);
|
118
118
|
}
|
119
119
|
|
120
120
|
/* ---------------------------------------------------------------- */
|
121
121
|
|
122
|
-
void KeccakP1600_AddByte(
|
122
|
+
void KeccakP1600_AddByte(KeccakP1600_plain32_state *state, unsigned char byte, unsigned int offset)
|
123
123
|
{
|
124
124
|
unsigned int lanePosition = offset/8;
|
125
125
|
unsigned int offsetInLane = offset%8;
|
126
126
|
uint32_t low, high;
|
127
127
|
uint32_t temp, temp0, temp1;
|
128
|
-
uint32_t *stateAsHalfLanes =
|
128
|
+
uint32_t *stateAsHalfLanes = state->A;
|
129
129
|
|
130
130
|
if (offsetInLane < 4) {
|
131
131
|
low = (uint32_t)byte << (offsetInLane*8);
|
@@ -140,12 +140,12 @@ void KeccakP1600_AddByte(void *state, unsigned char byte, unsigned int offset)
|
|
140
140
|
|
141
141
|
/* ---------------------------------------------------------------- */
|
142
142
|
|
143
|
-
void KeccakP1600_AddBytesInLane(
|
143
|
+
void KeccakP1600_AddBytesInLane(KeccakP1600_plain32_state *state, unsigned int lanePosition, const unsigned char *data, unsigned int offset, unsigned int length)
|
144
144
|
{
|
145
145
|
uint8_t laneAsBytes[8];
|
146
146
|
uint32_t low, high;
|
147
147
|
uint32_t temp, temp0, temp1;
|
148
|
-
uint32_t *stateAsHalfLanes =
|
148
|
+
uint32_t *stateAsHalfLanes = state->A;
|
149
149
|
|
150
150
|
memset(laneAsBytes, 0, 8);
|
151
151
|
memcpy(laneAsBytes+offset, data, length);
|
@@ -167,11 +167,11 @@ void KeccakP1600_AddBytesInLane(void *state, unsigned int lanePosition, const un
|
|
167
167
|
|
168
168
|
/* ---------------------------------------------------------------- */
|
169
169
|
|
170
|
-
void KeccakP1600_AddLanes(
|
170
|
+
void KeccakP1600_AddLanes(KeccakP1600_plain32_state *state, const unsigned char *data, unsigned int laneCount)
|
171
171
|
{
|
172
172
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
173
173
|
const uint32_t * pI = (const uint32_t *)data;
|
174
|
-
uint32_t * pS =
|
174
|
+
uint32_t * pS = state->A;
|
175
175
|
uint32_t t, x0, x1;
|
176
176
|
int i;
|
177
177
|
for (i = laneCount-1; i >= 0; --i) {
|
@@ -199,7 +199,7 @@ void KeccakP1600_AddLanes(void *state, const unsigned char *data, unsigned int l
|
|
199
199
|
| ((uint32_t)(laneAsBytes[6]) << 16)
|
200
200
|
| ((uint32_t)(laneAsBytes[7]) << 24);
|
201
201
|
uint32_t even, odd, temp, temp0, temp1;
|
202
|
-
uint32_t *stateAsHalfLanes =
|
202
|
+
uint32_t *stateAsHalfLanes = state->A;
|
203
203
|
toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePosition*2+1], temp, temp0, temp1);
|
204
204
|
}
|
205
205
|
#endif
|
@@ -207,14 +207,14 @@ void KeccakP1600_AddLanes(void *state, const unsigned char *data, unsigned int l
|
|
207
207
|
|
208
208
|
/* ---------------------------------------------------------------- */
|
209
209
|
|
210
|
-
void KeccakP1600_AddBytes(
|
210
|
+
void KeccakP1600_AddBytes(KeccakP1600_plain32_state *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
211
211
|
{
|
212
212
|
SnP_AddBytes(state, data, offset, length, KeccakP1600_AddLanes, KeccakP1600_AddBytesInLane, 8);
|
213
213
|
}
|
214
214
|
|
215
215
|
/* ---------------------------------------------------------------- */
|
216
216
|
|
217
|
-
void KeccakP1600_OverwriteBytesInLane(
|
217
|
+
void KeccakP1600_OverwriteBytesInLane(KeccakP1600_plain32_state *state, unsigned int lanePosition, const unsigned char *data, unsigned int offset, unsigned int length)
|
218
218
|
{
|
219
219
|
KeccakP1600_SetBytesInLaneToZero(state, lanePosition, offset, length);
|
220
220
|
KeccakP1600_AddBytesInLane(state, lanePosition, data, offset, length);
|
@@ -222,7 +222,7 @@ void KeccakP1600_OverwriteBytesInLane(void *state, unsigned int lanePosition, co
|
|
222
222
|
|
223
223
|
/* ---------------------------------------------------------------- */
|
224
224
|
|
225
|
-
void KeccakP1600_OverwriteLanes(
|
225
|
+
void KeccakP1600_OverwriteLanes(KeccakP1600_plain32_state *state, const unsigned char *data, unsigned int laneCount)
|
226
226
|
{
|
227
227
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
228
228
|
const uint32_t * pI = (const uint32_t *)data;
|
@@ -254,7 +254,7 @@ void KeccakP1600_OverwriteLanes(void *state, const unsigned char *data, unsigned
|
|
254
254
|
| ((uint32_t)(laneAsBytes[6]) << 16)
|
255
255
|
| ((uint32_t)(laneAsBytes[7]) << 24);
|
256
256
|
uint32_t even, odd, temp, temp0, temp1;
|
257
|
-
uint32_t *stateAsHalfLanes =
|
257
|
+
uint32_t *stateAsHalfLanes = state->A;
|
258
258
|
toBitInterleavingAndSet(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePosition*2+1], temp, temp0, temp1);
|
259
259
|
}
|
260
260
|
#endif
|
@@ -262,16 +262,16 @@ void KeccakP1600_OverwriteLanes(void *state, const unsigned char *data, unsigned
|
|
262
262
|
|
263
263
|
/* ---------------------------------------------------------------- */
|
264
264
|
|
265
|
-
void KeccakP1600_OverwriteBytes(
|
265
|
+
void KeccakP1600_OverwriteBytes(KeccakP1600_plain32_state *state, const unsigned char *data, unsigned int offset, unsigned int length)
|
266
266
|
{
|
267
267
|
SnP_OverwriteBytes(state, data, offset, length, KeccakP1600_OverwriteLanes, KeccakP1600_OverwriteBytesInLane, 8);
|
268
268
|
}
|
269
269
|
|
270
270
|
/* ---------------------------------------------------------------- */
|
271
271
|
|
272
|
-
void KeccakP1600_OverwriteWithZeroes(
|
272
|
+
void KeccakP1600_OverwriteWithZeroes(KeccakP1600_plain32_state *state, unsigned int byteCount)
|
273
273
|
{
|
274
|
-
uint32_t *stateAsHalfLanes =
|
274
|
+
uint32_t *stateAsHalfLanes = state->A;
|
275
275
|
unsigned int i;
|
276
276
|
|
277
277
|
for(i=0; i<byteCount/8; i++) {
|
@@ -284,9 +284,9 @@ void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount)
|
|
284
284
|
|
285
285
|
/* ---------------------------------------------------------------- */
|
286
286
|
|
287
|
-
void KeccakP1600_ExtractBytesInLane(const
|
287
|
+
void KeccakP1600_ExtractBytesInLane(const KeccakP1600_plain32_state *state, unsigned int lanePosition, unsigned char *data, unsigned int offset, unsigned int length)
|
288
288
|
{
|
289
|
-
uint32_t *stateAsHalfLanes =
|
289
|
+
const uint32_t *stateAsHalfLanes = state->A;
|
290
290
|
uint32_t low, high, temp, temp0, temp1;
|
291
291
|
uint8_t laneAsBytes[8];
|
292
292
|
|
@@ -309,7 +309,7 @@ void KeccakP1600_ExtractBytesInLane(const void *state, unsigned int lanePosition
|
|
309
309
|
|
310
310
|
/* ---------------------------------------------------------------- */
|
311
311
|
|
312
|
-
void KeccakP1600_ExtractLanes(const
|
312
|
+
void KeccakP1600_ExtractLanes(const KeccakP1600_plain32_state *state, unsigned char *data, unsigned int laneCount)
|
313
313
|
{
|
314
314
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
315
315
|
uint32_t * pI = (uint32_t *)data;
|
@@ -330,7 +330,7 @@ void KeccakP1600_ExtractLanes(const void *state, unsigned char *data, unsigned i
|
|
330
330
|
#else
|
331
331
|
unsigned int lanePosition;
|
332
332
|
for(lanePosition=0; lanePosition<laneCount; lanePosition++) {
|
333
|
-
uint32_t *stateAsHalfLanes =
|
333
|
+
uint32_t *stateAsHalfLanes = state->A;
|
334
334
|
uint32_t low, high, temp, temp0, temp1;
|
335
335
|
fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1);
|
336
336
|
uint8_t laneAsBytes[8];
|
@@ -349,16 +349,16 @@ void KeccakP1600_ExtractLanes(const void *state, unsigned char *data, unsigned i
|
|
349
349
|
|
350
350
|
/* ---------------------------------------------------------------- */
|
351
351
|
|
352
|
-
void KeccakP1600_ExtractBytes(const
|
352
|
+
void KeccakP1600_ExtractBytes(const KeccakP1600_plain32_state *state, unsigned char *data, unsigned int offset, unsigned int length)
|
353
353
|
{
|
354
354
|
SnP_ExtractBytes(state, data, offset, length, KeccakP1600_ExtractLanes, KeccakP1600_ExtractBytesInLane, 8);
|
355
355
|
}
|
356
356
|
|
357
357
|
/* ---------------------------------------------------------------- */
|
358
358
|
|
359
|
-
void KeccakP1600_ExtractAndAddBytesInLane(const
|
359
|
+
void KeccakP1600_ExtractAndAddBytesInLane(const KeccakP1600_plain32_state *state, unsigned int lanePosition, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
|
360
360
|
{
|
361
|
-
uint32_t *stateAsHalfLanes =
|
361
|
+
const uint32_t *stateAsHalfLanes = state->A;
|
362
362
|
uint32_t low, high, temp, temp0, temp1;
|
363
363
|
uint8_t laneAsBytes[8];
|
364
364
|
unsigned int i;
|
@@ -383,7 +383,7 @@ void KeccakP1600_ExtractAndAddBytesInLane(const void *state, unsigned int lanePo
|
|
383
383
|
|
384
384
|
/* ---------------------------------------------------------------- */
|
385
385
|
|
386
|
-
void KeccakP1600_ExtractAndAddLanes(const
|
386
|
+
void KeccakP1600_ExtractAndAddLanes(const KeccakP1600_plain32_state *state, const unsigned char *input, unsigned char *output, unsigned int laneCount)
|
387
387
|
{
|
388
388
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
389
389
|
const uint32_t * pI = (const uint32_t *)input;
|
@@ -405,7 +405,7 @@ void KeccakP1600_ExtractAndAddLanes(const void *state, const unsigned char *inpu
|
|
405
405
|
#else
|
406
406
|
unsigned int lanePosition;
|
407
407
|
for(lanePosition=0; lanePosition<laneCount; lanePosition++) {
|
408
|
-
uint32_t *stateAsHalfLanes =
|
408
|
+
uint32_t *stateAsHalfLanes = state->A;
|
409
409
|
uint32_t low, high, temp, temp0, temp1;
|
410
410
|
fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1);
|
411
411
|
uint8_t laneAsBytes[8];
|
@@ -424,7 +424,7 @@ void KeccakP1600_ExtractAndAddLanes(const void *state, const unsigned char *inpu
|
|
424
424
|
}
|
425
425
|
/* ---------------------------------------------------------------- */
|
426
426
|
|
427
|
-
void KeccakP1600_ExtractAndAddBytes(const
|
427
|
+
void KeccakP1600_ExtractAndAddBytes(const KeccakP1600_plain32_state *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
|
428
428
|
{
|
429
429
|
SnP_ExtractAndAddBytes(state, input, output, offset, length, KeccakP1600_ExtractAndAddLanes, KeccakP1600_ExtractAndAddBytesInLane, 8);
|
430
430
|
}
|
@@ -960,14 +960,14 @@ static const uint32_t KeccakF1600RoundConstants_int2[2*24+1] =
|
|
960
960
|
Aso1 = Bo ^((~Bu)& Ba ); \
|
961
961
|
Asu1 = Bu ^((~Ba)& Be );
|
962
962
|
|
963
|
-
void KeccakP1600_Permute_Nrounds(
|
963
|
+
void KeccakP1600_Permute_Nrounds(KeccakP1600_plain32_state *state, unsigned int nRounds)
|
964
964
|
{
|
965
965
|
uint32_t Da0, De0, Di0, Do0, Du0;
|
966
966
|
uint32_t Da1, De1, Di1, Do1, Du1;
|
967
967
|
uint32_t Ba, Be, Bi, Bo, Bu;
|
968
968
|
uint32_t Cx, Cy, Cz, Cw;
|
969
969
|
const uint32_t *pRoundConstants = KeccakF1600RoundConstants_int2+(24-nRounds)*2;
|
970
|
-
uint32_t *stateAsHalfLanes =
|
970
|
+
uint32_t *stateAsHalfLanes = state->A;
|
971
971
|
#define Aba0 stateAsHalfLanes[ 0]
|
972
972
|
#define Aba1 stateAsHalfLanes[ 1]
|
973
973
|
#define Abe0 stateAsHalfLanes[ 2]
|
@@ -1150,14 +1150,14 @@ void KeccakP1600_Permute_Nrounds(void *state, unsigned int nRounds)
|
|
1150
1150
|
|
1151
1151
|
/* ---------------------------------------------------------------- */
|
1152
1152
|
|
1153
|
-
void KeccakP1600_Permute_12rounds(
|
1153
|
+
void KeccakP1600_Permute_12rounds(KeccakP1600_plain32_state *state)
|
1154
1154
|
{
|
1155
1155
|
KeccakP1600_Permute_Nrounds(state, 12);
|
1156
1156
|
}
|
1157
1157
|
|
1158
1158
|
/* ---------------------------------------------------------------- */
|
1159
1159
|
|
1160
|
-
void KeccakP1600_Permute_24rounds(
|
1160
|
+
void KeccakP1600_Permute_24rounds(KeccakP1600_plain32_state *state)
|
1161
1161
|
{
|
1162
1162
|
KeccakP1600_Permute_Nrounds(state, 24);
|
1163
1163
|
}
|
@@ -21,34 +21,39 @@ Please refer to SnP-documentation.h for more details.
|
|
21
21
|
#ifndef _KeccakP_1600_SnP_h_
|
22
22
|
#define _KeccakP_1600_SnP_h_
|
23
23
|
|
24
|
+
#include <stddef.h>
|
25
|
+
#include <stdint.h>
|
26
|
+
|
24
27
|
#include "brg_endian.h"
|
25
28
|
#include "KeccakP-1600-opt64-config.h"
|
26
29
|
|
30
|
+
typedef struct {
|
31
|
+
uint64_t A[25];
|
32
|
+
} KeccakP1600_plain64_state;
|
33
|
+
|
34
|
+
typedef KeccakP1600_plain64_state KeccakP1600_state;
|
35
|
+
|
27
36
|
#define KeccakP1600_implementation "generic 64-bit optimized implementation (" KeccakP1600_implementation_config ")"
|
28
|
-
#define KeccakP1600_stateSizeInBytes 200
|
29
|
-
#define KeccakP1600_stateAlignment 8
|
30
37
|
#define KeccakF1600_FastLoop_supported
|
31
38
|
#define KeccakP1600_12rounds_FastLoop_supported
|
32
39
|
|
33
|
-
#include <stddef.h>
|
34
|
-
|
35
40
|
#define KeccakP1600_StaticInitialize()
|
36
|
-
void KeccakP1600_Initialize(
|
41
|
+
void KeccakP1600_Initialize(KeccakP1600_plain64_state *state);
|
37
42
|
#if (PLATFORM_BYTE_ORDER == IS_LITTLE_ENDIAN)
|
38
43
|
#define KeccakP1600_AddByte(state, byte, offset) \
|
39
44
|
((unsigned char*)(state))[(offset)] ^= (byte)
|
40
45
|
#else
|
41
|
-
void KeccakP1600_AddByte(
|
46
|
+
void KeccakP1600_AddByte(KeccakP1600_plain64_state *state, unsigned char data, unsigned int offset);
|
42
47
|
#endif
|
43
|
-
void KeccakP1600_AddBytes(
|
44
|
-
void KeccakP1600_OverwriteBytes(
|
45
|
-
void KeccakP1600_OverwriteWithZeroes(
|
46
|
-
void KeccakP1600_Permute_Nrounds(
|
47
|
-
void KeccakP1600_Permute_12rounds(
|
48
|
-
void KeccakP1600_Permute_24rounds(
|
49
|
-
void KeccakP1600_ExtractBytes(const
|
50
|
-
void KeccakP1600_ExtractAndAddBytes(const
|
51
|
-
size_t KeccakF1600_FastLoop_Absorb(
|
52
|
-
size_t KeccakP1600_12rounds_FastLoop_Absorb(
|
48
|
+
void KeccakP1600_AddBytes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
|
49
|
+
void KeccakP1600_OverwriteBytes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
|
50
|
+
void KeccakP1600_OverwriteWithZeroes(KeccakP1600_plain64_state *state, unsigned int byteCount);
|
51
|
+
void KeccakP1600_Permute_Nrounds(KeccakP1600_plain64_state *state, unsigned int nrounds);
|
52
|
+
void KeccakP1600_Permute_12rounds(KeccakP1600_plain64_state *state);
|
53
|
+
void KeccakP1600_Permute_24rounds(KeccakP1600_plain64_state *state);
|
54
|
+
void KeccakP1600_ExtractBytes(const KeccakP1600_plain64_state *state, unsigned char *data, unsigned int offset, unsigned int length);
|
55
|
+
void KeccakP1600_ExtractAndAddBytes(const KeccakP1600_plain64_state *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
|
56
|
+
size_t KeccakF1600_FastLoop_Absorb(KeccakP1600_plain64_state *state, unsigned int laneCount, const unsigned char *data, size_t dataByteLen);
|
57
|
+
size_t KeccakP1600_12rounds_FastLoop_Absorb(KeccakP1600_plain64_state *state, unsigned int laneCount, const unsigned char *data, size_t dataByteLen);
|
53
58
|
|
54
59
|
#endif
|